LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro containing password?


Is it possible to place a password on the protection feature of a
worksheet and program a macro to run without stopping to request the
password?

I share workbooks with others and protect cells to prevent
reconfiguration. Several workbooks contain macros. Usually the first
step in the macro is to remove the protection from the worksheet before
manipulating the data. The last step is to return the protection to the
worksheet. I have problems with others manually removing the protection
and doing "their thing" to the workbook. If I place a password on the
protection, the macro stops and asks for the password, so I normally
place the protection on without a password. It stops the casual user,
but not those intent on modifying my spreadsheet. I want to continue
sharing the workbooks, so I live with the "help".

Can I prevent this help and still run my macros?

Thank you for any help.


--
kildevil
------------------------------------------------------------------------
kildevil's Profile: http://www.excelforum.com/member.php...fo&userid=6319
View this thread: http://www.excelforum.com/showthread...hreadid=270709

 
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
Password protection in macro ( Anybody can view my password in VB Sherees Excel Discussion (Misc queries) 2 January 24th 10 10:05 PM
Macro (password) Mike Excel Discussion (Misc queries) 6 December 25th 09 01:25 PM
Password and Macro Wanna Learn Excel Discussion (Misc queries) 4 July 24th 07 03:20 PM
How to see macro code of a password protected macro without a password? Dmitry Kopnichev Excel Worksheet Functions 5 October 27th 05 09:57 AM
Password Macro Roger[_12_] Excel Programming 1 December 31st 03 12:23 AM


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