Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default how can I hide macro list from user?

I created a workbook with several macros. I password-protected the workbook,
the sheets and even the VBA project from viewing. Still, the entire macro
list pops up when the user pulls up the macro list (Tools|Macro|Macros or
Alt+F8.) I don't want the user to see the list of macros hidden in the
workbook. How can I hide the list from the user?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default how can I hide macro list from user?

Precede the macro name with the keyword Private; e.g.:

Private Sub MyMacro()
'..........
End Sub

--

Vasant

"Bill_S" wrote in message
...
I created a workbook with several macros. I password-protected the

workbook,
the sheets and even the VBA project from viewing. Still, the entire macro
list pops up when the user pulls up the macro list (Tools|Macro|Macros or
Alt+F8.) I don't want the user to see the list of macros hidden in the
workbook. How can I hide the list from the user?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 83
Default how can I hide macro list from user?

If I label the macro private then how does VBA call the private sub
--
Jim at Eagle


"Vasant Nanavati" wrote:

Precede the macro name with the keyword Private; e.g.:

Private Sub MyMacro()
'..........
End Sub

--

Vasant

"Bill_S" wrote in message
...
I created a workbook with several macros. I password-protected the

workbook,
the sheets and even the VBA project from viewing. Still, the entire macro
list pops up when the user pulls up the macro list (Tools|Macro|Macros or
Alt+F8.) I don't want the user to see the list of macros hidden in the
workbook. How can I hide the list from the user?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default how can I hide macro list from user?

Don't the macros that will be called from a commandbar button (to start your
macro) or menu have to be Public? The others can all be Private.
--
Regards,
Bill


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Precede the macro name with the keyword Private; e.g.:

Private Sub MyMacro()
'..........
End Sub

--

Vasant



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default how can I hide macro list from user?

If all the modules are only callable from your project in V BA, the precede
the module with

Option Private Module

--
HTH

Bob Phillips

"Bill_S" wrote in message
...
I created a workbook with several macros. I password-protected the

workbook,
the sheets and even the VBA project from viewing. Still, the entire macro
list pops up when the user pulls up the macro list (Tools|Macro|Macros or
Alt+F8.) I don't want the user to see the list of macros hidden in the
workbook. How can I hide the list from the user?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide macros from Alt-F8 macro list Bill_S Excel Discussion (Misc queries) 2 January 4th 07 09:05 PM
Start Macro after user selects a choice from a pick list mathew Excel Discussion (Misc queries) 2 August 17th 06 03:28 PM
Hide columns to all but one user? Fern Excel Discussion (Misc queries) 7 October 6th 05 10:16 PM
Hide code from user losmac Excel Programming 0 August 19th 03 08:12 PM
Hide code from user Ron de Bruin Excel Programming 0 August 19th 03 04:05 PM


All times are GMT +1. The time now is 01:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"