LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Edmund
 
Posts: n/a
Default Unlock for Viewing

Assuming all my passwords are "abc"

To unprotect my active sheet, I do
ActiveSheet.Unprotect abc

To unprotect my write protected workbook, I do
Workbooks.Open Filename:=TargetPathAndName, WriteResPassword:= abc


But to unlock for viewing in VBE, my module1 under Project Name Book, what
should I do?

Many thanks

--
Edmund
(Using Excel XP)
 
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
Unlock formulas and unhide sheets AnisaF Excel Worksheet Functions 1 October 20th 05 01:30 AM
Unlock VBA Project zhj23 Excel Discussion (Misc queries) 1 October 8th 05 12:14 PM
how do i password protect an .xls file? how do i unlock it for automation. e.g. want to unlock and access a .xls from another .xls macro. Daniel Excel Worksheet Functions 1 June 24th 05 02:59 PM
How do I unlock specific cells in a spreadsheet that I protected? onemanhattanrebel Excel Discussion (Misc queries) 2 May 8th 05 05:43 PM
some keys locked on keyboard. How do I unlock it? Dalene Excel Discussion (Misc queries) 2 April 3rd 05 07:19 PM


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