Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2016, 12:54 PM
Auto Auto is offline Macros don't work in password protected file. Windows 8 Macros don't work in password protected file. Office 2007
Novice
Macros don't work in password protected file.
 
Join Date: Mar 2016
Posts: 9
Auto is on a distinguished road
Post Macros don't work in password protected file.

I added a password to open my Excel 2007 file but now the macros don't work. I want to keep the file contents private but still run macros. Is there a way to do this?
Reply With Quote
  #2  
Old 06-28-2016, 12:47 PM
WRowan WRowan is offline Macros don't work in password protected file. Windows XP Macros don't work in password protected file. Office 2010 32bit
Novice
 
Join Date: Jun 2012
Posts: 4
WRowan is on a distinguished road
Default

I have such a file. Are you un-protecting the file before trying to run the macro? Otherwise Excel sees running the macro as an attempt to change a pw-protected file and balks at running it.

I type in the pw each time I want to run the macro. Usually I'm not making changes to this file so I just close without saving, which saves the hassle of re-protecting.
Reply With Quote
  #3  
Old 06-29-2016, 12:17 AM
Auto Auto is offline Macros don't work in password protected file. Windows 8 Macros don't work in password protected file. Office 2007
Novice
Macros don't work in password protected file.
 
Join Date: Mar 2016
Posts: 9
Auto is on a distinguished road
Default

Thanks WRowan for your response. I tried everything suggested at this web location:

http://www.globaliconnect.com/excel/...=79&Itemid=475

But those suggestions are assuming the worksheet is protected which is not the case. I only have a password enabled to open the file, other than that the worksheet has no protection enabled.

I could remove the password and allow macros to run, but I would have to manually add the password back before closing which is such a hassle. There must be a more efficient way to approach this but I don't have a clue.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore identification of password protected excel file da.mage Excel 0 01-04-2016 06:21 AM
Vb script to open a password protected project 2003 file virencm Project 1 04-03-2014 08:02 AM
Password protected file no longer offers password dialog on Open htaylor Word 0 10-15-2013 12:35 PM
Macros don't work in password protected file. Oops password protected word !!! mistermouse Word 5 02-16-2011 01:56 PM
Password Protected Files gurp99 Word 0 08-17-2010 03:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft