Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Hide macro List from Alt+F8 window.

"Rick Rothstein (MVP - VB)" wrote in
message ...
3. Add an argument to the sub. Change
Sub MyStuff()
to
Sub Mystuff(byval x as long)
Note that using this method requires you to supply a value for x any

time
the sub is called.


If you declare MyStuff as a function with no arguments, you can still call
it like a subroutine and it won't appear in the Macro listing...

Function MyStuff()
' Do your subroutine type stuff here
End Function

Rick


Ah but then it'd show up in the function list !

Regards,
Peter T


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
Hide Window Caption Bar Mats Nilsson Excel Programming 4 August 28th 06 07:02 PM
how can I hide macro list from user? Bill_S Excel Programming 4 April 28th 05 09:11 AM
Hide public procedures in macro window? What-a-Tool Excel Programming 2 September 12th 04 12:44 AM
Practical use of Window Hide Tetsuya Oguma[_4_] Excel Programming 1 August 5th 04 06:50 AM


All times are GMT +1. The time now is 11:19 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"