Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Enable Macros Office 2007

How to enable macros in a protected workbook under Office 2007

I tried one of the bypass posted here but not getting it to work?!!

I am using Windows XP, Office 2007, Mcafee Virus Scan Enterpris 8.



Create this key and set its value to 1:

ExcelBypassEncryptedMacroScan

under:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\E xcel\Security



Thanks,

Abdul

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,344
Default Enable Macros Office 2007

Hi,

If what you are asking is how can you run a macro which would change part of
a protected workbook, then you have at least two options:

1. turn off protection within the code and turn it back on in the code.
2. turn protection on in code and use the UserInterfaceOnly:=True option.

This option allows the macro to run against a protected workbook and to
modify it despite the fact that the sheet is protected. Look this up in help
if you need to understand more.
--
Cheers,
Shane Devenshire


"Abdul" wrote:

How to enable macros in a protected workbook under Office 2007

I tried one of the bypass posted here but not getting it to work?!!

I am using Windows XP, Office 2007, Mcafee Virus Scan Enterpris 8.



Create this key and set its value to 1:

ExcelBypassEncryptedMacroScan

under:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\E xcel\Security



Thanks,

Abdul


Reply
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
enable macros in 2007 des-sa[_2_] Excel Discussion (Misc queries) 1 October 20th 08 03:46 PM
How enable Office Assistan in Excel 2007? Dennis0221 Excel Discussion (Misc queries) 2 June 15th 08 01:46 AM
How to enable Macros in excel 2007 ss Excel Discussion (Misc queries) 1 January 21st 08 09:39 PM
Simple way to enable just my personal macros in Excel (& Office) 2007 LurfysMa New Users to Excel 13 June 12th 07 12:55 PM
Enable macros in 2007 Anita Excel Discussion (Misc queries) 5 February 10th 07 04:24 PM


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