LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 137
Default Excel 2007 Protect Workbook issue

I've established that whenever I use the code...

ActiveWorkbook.Protect Password:="password"

....it seems to disable the macros in the workbook. This takes effect once
you have saved, closed the file, then re-opened it. However, I find that I
cannot enable the macros anymore and the workbook then becomes un-usable.

If anyone has two minutes spare, could they please try this out in a NEW
Excel 2007 file and tell me whether it's happening to them, or whether I am
just going mad!!!

Steps-to-take:
(1) Create a new .XLSM file and add the above code. Run it a few times, then
save and close the file.
(2) Re-open the file and, bam, it don't work!

Thanks in advance,
Paul.
 
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
Excel 2007 Large Format Printing Issue Capptyone Excel Discussion (Misc queries) 1 May 22nd 07 04:01 PM
Excel Issue: Links within a Workbook don't appear to update Southwest Scott Excel Discussion (Misc queries) 0 April 20th 07 09:04 PM
Protect sheet Excel 2007 teepee Excel Discussion (Misc queries) 7 March 31st 07 10:55 AM
Excel 2007 Issue: Charting numerous strings of data Hunter Charts and Charting in Excel 4 July 26th 06 11:15 PM
Pivot Table issue in Excel 2007 ExcelInstructor Excel Discussion (Misc queries) 1 June 29th 06 08:45 PM


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