Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default not able to enable macro in password protected .xlsm workbook.

I am not able to enable macro in password protected *.xlsm file.. Once i
remove the password from protected workbook, I can run the macro..
Is there a way I can keep the password and still enable the macro?

Please Help!

Thanks in Advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default not able to enable macro in password protected .xlsm workbook.

On Jul 16, 11:26*am, sam wrote:
I am not able to enable macro in password protected *.xlsm file.. Once i
remove the password from protected workbook, I can run the macro..
Is there a way I can keep the password and still enable the macro?

Please Help!

Thanks in Advance


Why not unprotect the sheet through VBA, run coding, then protect the
sheet again?

ActiveWorkbook.Sheets("Status").Unprotect
'coding here'
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default not able to enable macro in password protected .xlsm workbook.

maybe see this http://support.microsoft.com/kb/927150

"sam" wrote in message
...
|I am not able to enable macro in password protected *.xlsm file.. Once i
| remove the password from protected workbook, I can run the macro..
| Is there a way I can keep the password and still enable the macro?
|
| Please Help!
|
| Thanks in Advance

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 code in a password protected worksheet Barattolo_67 Excel Discussion (Misc queries) 3 February 14th 10 12:51 PM
Excel macro to open a password protected workbook Stephen C Excel Discussion (Misc queries) 8 December 1st 08 05:36 AM
How do I enable copy in a protected workbook? jlarge Excel Discussion (Misc queries) 1 May 25th 07 06:39 PM
vba macro open password protected workbook Ray Excel Programming 2 March 31st 06 04:10 PM
How do I enable autofilter on a protected shared workbook? Bungle Excel Discussion (Misc queries) 3 August 9th 05 02:33 AM


All times are GMT +1. The time now is 04:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"