Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default manually run macro's

Hello,

I've a workbook which I want to protect. I protected the sheet etc
already. But it is still possible to run macro's manually trough the
menu bar.ToolMacromacros

Can this be turned of when opening the workbook?

Thanks in advance.

Bernd

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default manually run macro's

just name it private and it won't show in the list.
for example:

Private Sub test()

--


Gary


"bernd" wrote in message
ups.com...
Hello,

I've a workbook which I want to protect. I protected the sheet etc
already. But it is still possible to run macro's manually trough the
menu bar.ToolMacromacros

Can this be turned of when opening the workbook?

Thanks in advance.

Bernd



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default manually run macro's

or add

Option Private Module

to the start of the module

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
just name it private and it won't show in the list.
for example:

Private Sub test()

--


Gary


"bernd" wrote in message
ups.com...
Hello,

I've a workbook which I want to protect. I protected the sheet etc
already. But it is still possible to run macro's manually trough the
menu bar.ToolMacromacros

Can this be turned of when opening the workbook?

Thanks in advance.

Bernd





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default manually run macro's

Thanks, the option Private Module works for me.

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
Tell in UDF if Calced Manually Matthew Wieder[_3_] Excel Programming 2 July 20th 06 09:34 PM
Hide Macro's in Toolbar / Macro's list sparx Excel Discussion (Misc queries) 2 May 6th 06 08:53 PM
Does this have to be done manually? Dorn Excel Discussion (Misc queries) 1 September 22nd 05 07:17 PM
I can only manually update? jclark419[_2_] Excel Programming 1 July 21st 05 05:48 PM
add a reference manually TommyBoy Excel Programming 2 August 13th 04 08:42 PM


All times are GMT +1. The time now is 03:06 PM.

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"