If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Compatibility Mode - Unprotect worksheet not working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-03-10, 14:15
Bartron Bartron is offline
Registered User
 
Join Date: Feb 2007
Location: The Farm
Posts: 35
Compatibility Mode - Unprotect worksheet not working

Excel 2007, compatibility mode for Excel 2003 file:

Can someone please point me to a reference or tell me why worksheet.unprotect in a macro does not appear to work? The macro will fail with "worksheet protected" when run unless I first unprotect the worksheet manually.

Thanks
__________________
Bartron

Liv'n down on the cube farm. Left, then another left, then right.
Reply With Quote
  #2 (permalink)  
Old 05-03-10, 15:43
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi,

Please can you show us the code and give us the error number and the exact, full error message?
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On