LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
TheRobsterUK
 
Posts: n/a
Default Sheet Protection and VBA Code


Does anyone know how to get Excel to allow VBA code to write to a
password protected worksheet?

I am using a work-around solution at the moment whereby the VBA
unprotects the relevant worksheet, writes data to it, then re-protects
it.

There must be a better way than this though. Obviously I don't want my
users to delete the formulas etc in the worksheet but I want my code to
be able to write data to the worksheet without having to
unprotect/re-protect it all the time!

Thanks
-Rob


--
TheRobsterUK


------------------------------------------------------------------------
TheRobsterUK's Profile: http://www.excelforum.com/member.php...fo&userid=9924
View this thread: http://www.excelforum.com/showthread...hreadid=374547

 
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



All times are GMT +1. The time now is 04:06 AM.

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"