Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default Macro program protect

Hi
How can I protect my macro program? I created a bar chart with macro for a
workgroup, members need to run the macro to paint the chart manually by
Tool/macro/ run.
It is best if I can make it run automatically when member open the
worksheet, but
I don't know how?
Thanks
Daniel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Macro program protect

In "This Workbook" of your VBA project

Private Sub Workbook_Open()
Module1.YourMacro
End Sub

reference what ever worksheet or module it is in

What do you mean by protect your macro?
if you want to prevent someone from seeing your code then right click on your
project in the Project viewer, select the Protection tab, check "Lock project
for viewing", and enter a password.


Daniel wrote:
Hi
How can I protect my macro program? I created a bar chart with macro for a
workgroup, members need to run the macro to paint the chart manually by
Tool/macro/ run.
It is best if I can make it run automatically when member open the
worksheet, but
I don't know how?
Thanks
Daniel


--
Message posted via http://www.officekb.com

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
Macro for Print Program Nimish Excel Discussion (Misc queries) 8 October 24th 06 06:36 PM
Average macro/program Christopher Anderson Excel Programming 1 December 22nd 04 06:44 PM
Macro to bring up Other Program Ryan Excel Programming 2 April 19th 04 09:11 PM
To protect the program Yanto Excel Programming 2 April 16th 04 05:09 PM


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