Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Personal.xls vba projects

Status
Not open for further replies.

Muttley

MIS
Nov 22, 2000
50
US
Hi

I have code stored in my personal macro workbook that saves a file with a certain file name. Problem is it also copies across the macro that saves it to the new file. When I come to run the macro again, it does not execute from the personal macro workbook, but from the previously saved version.

I am using the 'Save as' method to create the original saved file (I thought of using 'SaveCopyAs' instead, but this does not allow you to set a password).

How can I prevent this from happening???

Thanks
 

Muttley
:

Copy the sheets or just the data in the sheets from the workbook into a new workbook and then save the file. Regards,

LoNeRaVeR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top