Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2004, 07:23 AM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving Excel VBA code gives problems - Help needed

In an MS Excel VBA program I am facing a problem. I am unable to save data in my spreadsheet when the VBA project is locked with a password (In the VBA project properties). When I give the VBA project password for the first time then I am able to save data on my sheets. But when the next time I open the workbook and try to save data in the sheet , it gives me the error message staing that I cannot save the file until the lock and password from the VBA code is removed.

It is only when I remove the VBA project password that I am able to save data. Because of this I am not able to give adequate protection to my spreadsheet data and the VBA code in the Excel file. It appears quite ridiculous that one cannot save his spreadsheet just because he has protected his VBA code with a password and ticked the lock option in VBA project properties.

Another thing I want to know is how can I disenable the “disable macro, run macro’ message which comes when the workbook is opened. I want my users not to work in the “disable macro” mode.


I would be grateful if anyone could help me with this.

Regards
Manish
my email id is [email protected]















Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving with Excel VBA Scooter057 Excel VBA 1 January 15th, 2008 10:33 PM
Saving HTML popups using VBA in MS Excel Sureshsbe VB How-To 0 June 16th, 2007 02:40 AM
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
Saving an excel file in Access VBA theboylatham Access VBA 1 August 19th, 2005 08:14 AM
Help Needed to write vba for Pivot Table in Excel sunny76 Excel VBA 1 June 28th, 2005 01:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.