Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do you hide macro names from showing in "Tools"?


I've written an application and I've protected both the worksheets an
the VBA code. But the macros still show in Tools, Macros, Macros...

A user can still select and run a macro from the Tools menu. I want t
control all macros from the buttons I have on the various sheets of th
workbook. Can I hide the macro names and/or prevent "Run" from bein
chosen?

Thanks in advance.
Nashu

--
Nashu
-----------------------------------------------------------------------
Nashua's Profile: http://www.highdots.com/forums/m142
View this thread: http://www.highdots.com/forums/t307899

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 325
Default How do you hide macro names from showing in "Tools"?

Nashua,

Try putting this at the beginning of the module:

Option Private Module

Regards

Pete



"Nashua" wrote:


I've written an application and I've protected both the worksheets and
the VBA code. But the macros still show in Tools, Macros, Macros...

A user can still select and run a macro from the Tools menu. I want to
control all macros from the buttons I have on the various sheets of the
workbook. Can I hide the macro names and/or prevent "Run" from being
chosen?

Thanks in advance.
Nashua


--
Nashua
------------------------------------------------------------------------
Nashua's Profile: http://www.highdots.com/forums/m1420
View this thread: http://www.highdots.com/forums/t3078996


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
Range Names Showing Like "Watermarks" LarryP Excel Discussion (Misc queries) 1 February 9th 09 07:45 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" Dennis Excel Discussion (Misc queries) 0 July 17th 06 02:38 PM
CommandBars("Worksheet Menu Bar").Controls("Tools").Enabled = Fals Arturo Excel Programming 3 May 26th 05 05:44 PM
Backup to specific folder if workbook names begins with "NSR" or "MAC" GregR Excel Programming 3 May 6th 05 12:24 AM


All times are GMT +1. The time now is 05:01 PM.

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"