Microsoft
Software
Hardware
Network
Question : Centrally run macro - deployment
Hi Experts!
how do i deploy a macro(which I have and it works) so that it runs everytime a user opens his/her workbook?
ex : the user gets a spreadsheet in the mail and he/she clicks on it and the macro runs.
also the user must not be able to see the code.
Answer : Centrally run macro - deployment
Hi Arun,
1. You can call the macro by using the following code -
Private Sub Workbook_Open()
Call Macro
End Sub
2. To protect the code so that the user cant see it, you can password protect it. See attached screenshot #2.
Thanks,
Ardhendu
Workbook-Open.png
(26 KB)
(File Type Details)
Screenshot
password.png
(48 KB)
(File Type Details)
password
Random Solutions
API Function Syntax Error
Heres a good one ---- Select Records based on digits following decimal point in numerical value
VBA - Calling a function from outside a Private Sub
How to start week on Monday using Lebans MonthCalendar?
VS2008 - Could not find assembly error ... after upgrading to VS2008
Novell Zenworks 10 vs MS System Center Essentials 2007
How to integrate FCKEditor with asp.net/C#
change the language of datetime picker to spanish.
how can i send a diferent image to two monitors pluged to one computer with a VGA Splitter
how to get the milliseconds from datetime in dotnetcompact framework