Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default hide macro in listbox

Is there a way to hide or prevent some of my sub procedures from showing up
in the macro list box? some of the procedures are called by other macros and
are never started directly by the user, so they only clutter of the listbox
when someone chooses tools, macros,macros.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default hide macro in listbox

Hi BillyRogers

You can place Private before a sub like this
Private Sub test()

Or add this at the top of the module
Option Private Module

This way you don't see it in the macro list (Alt-F8)



--
Regards Ron de Bruin
http://www.rondebruin.nl


"BillyRogers" wrote in message ...
Is there a way to hide or prevent some of my sub procedures from showing up
in the macro list box? some of the procedures are called by other macros and
are never started directly by the user, so they only clutter of the listbox
when someone chooses tools, macros,macros.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default hide macro in listbox

Your the BEST Ron!!!!!!!!!!!

"Ron de Bruin" wrote:

Hi BillyRogers

You can place Private before a sub like this
Private Sub test()

Or add this at the top of the module
Option Private Module

This way you don't see it in the macro list (Alt-F8)



--
Regards Ron de Bruin
http://www.rondebruin.nl


"BillyRogers" wrote in message ...
Is there a way to hide or prevent some of my sub procedures from showing up
in the macro list box? some of the procedures are called by other macros and
are never started directly by the user, so they only clutter of the listbox
when someone chooses tools, macros,macros.





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
ListBox (?) in a macro aca[_7_] Excel Programming 1 January 27th 06 12:46 PM
RollDown ListBox in a macro aca[_6_] Excel Programming 0 January 23rd 06 07:59 AM
show/hide rows with listbox sharkje76 Excel Programming 1 February 18th 05 01:25 PM
Run a macro when new selection in listbox Georg[_3_] Excel Programming 1 December 5th 03 06:09 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM


All times are GMT +1. The time now is 10:24 AM.

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

About Us

"It's about Microsoft Excel"