#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hide macro

Ho to all,
i have two macro. The first is set by workbook.open, the secon is called
from the first and is placed in module1.
I want to hide both so the user cannot see them from the excel sheet.
What the solution?




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default hide macro

Hi GM

if i'm understanding your question correctly, go into the VBE window (Alt &
F11) and click on the project name, now right mouse click and choose
VBAProject Properties, go to the protection tab and tick "locked for
viewing" and enter a password (twice) click OK

when the book is closed and reopened you will not be able to view the code
without the password. However, please note, that protection in excel is
relatively easy to break.

Cheers
JulieD


"GM" wrote in message
...
Ho to all,
i have two macro. The first is set by workbook.open, the secon is called
from the first and is placed in module1.
I want to hide both so the user cannot see them from the excel sheet.
What the solution?






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 a Macro [email protected] Excel Discussion (Misc queries) 2 July 26th 07 09:12 AM
macro to hide row with 0.00 Lori Excel Worksheet Functions 2 April 25th 07 08:56 PM
Hide row macro John F[_2_] Excel Programming 1 November 11th 04 09:05 PM
Macro to hide rows. Steve Excel Programming 4 January 25th 04 08:46 PM
more help with a hide macro Awoll Excel Programming 3 December 11th 03 08:37 PM


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