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: 4,391
Default Bypassing protection for macros applied to an image

You have a couple of options:
- Wrap you code in WS.Unprotect/.Protect statements
- Check out the 5th argument to .Protect .

NickHK

"damiand_1982"
wrote in message
news:damiand_1982.2ci4rt_1155511515.5275@excelforu m-nospam.com...

G'day guys,

I have an excel worksheet with protection to mainly hide formulas and
prevent users from accidentally deleting/modifying the formulas.

I have created a couple of macro's to reset a filter on a collum and
reset the wrap text function on the sheet, however, when I go to
execute the macro the sheet come up with an error due to it being
protected.

Does anyone know how I can keep the sheet protected (or at least the
formulas hidden) and still have the Macros?

Any help would be appreciated.

Cheers
Damian


--
damiand_1982
------------------------------------------------------------------------
damiand_1982's Profile:

http://www.excelforum.com/member.php...o&userid=37461
View this thread: http://www.excelforum.com/showthread...hreadid=571224



 
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
Can macros be applied when using the viewer? plsntn_rules Excel Discussion (Misc queries) 1 January 14th 06 12:26 AM
Bypassing ENABLE/DISABLE MACROS message Excel4u Excel Discussion (Misc queries) 1 December 7th 05 04:05 PM
Bypassing startup macros Paul B[_6_] Excel Programming 3 August 26th 04 01:56 PM
Bypassing startup macros Thomas Ramel Excel Programming 2 August 26th 04 01:36 PM
Error Trap for bypassing Password Protection Arawn Excel Programming 0 June 4th 04 11:21 PM


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