Hidding Macro names and coding

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using a record a macro option in my excels. I want to use the macro as
usual with the shortcut key that i had assigned for it.

Also I want to hide the names of the macros and their coding so that no one
should can know how many macros that i am using and see the codings.

I know how to lock the coding, so that no one can see it. I want to know how
i can hide the names of the different macros. Even after hiding the names and
the codings i want to use the macros with the shortcut keys.
 
Put Option Private Module at the head of the macros module.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
I had done that, but my shortcut keys to run the same macros is not working.
can you fix it.
 
Take that off then and just make the sub private

Private Sub myMacro()

(after assigning to shortcut to the macro).

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Bob

I can't get this method to work.

Sub test()
Worksheets("Sheet2").Range("A1:A10").Copy _
Destination:=ActiveSheet.Range("C1")
End Sub

Shortcut key CTRL + M operates as desired.

Change to

Private Sub test()
Worksheets("Sheet2").Range("A1:A10").Copy _
Destination:=ActiveSheet.Range("C1")
End Sub

Shortcut won't work. Still looking for original macro name, I assume.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top