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: 6
Default Unlocking in 97

I've written some code that makes changes to a protected
sheet. Therefore it had to be unprotected. I know that
in 97 the problem is that it is confused about what has
the focus so you need to activate the sheet and possibly
the active cell. The problem this time is that at that
point of the program 2 sheets are seleted. The only
soloution I came up with that seems to work is to have the
program select a different sheet then select the sheet I
want to unlock, unlock it make the changes, lock it,
select the 2 sheets again. This is not a great soloution
since the program repeats this a number of times, printing
the 2 sheets, making some changes then printing again.

Is there a way around this, like an unselect command for
one of the sheets or a way that I could unprotect a page
even when 2 sheets are selected.

Thanks in advance for any help.

Wes
 
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
Unlocking a Workbook Jeff Excel Discussion (Misc queries) 2 June 2nd 09 04:28 PM
unlocking a row AJ Excel Discussion (Misc queries) 3 February 26th 09 02:38 PM
Unlocking cells maltagirl Excel Discussion (Misc queries) 3 June 16th 08 07:20 PM
Unlocking spreadsheet pkpilot Excel Discussion (Misc queries) 2 February 22nd 08 10:41 PM
Unlocking cells Vanilla Skies Excel Worksheet Functions 1 September 25th 06 04:30 AM


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