Forcing Excel to save as a different file name

P

philtraynor

Hi,

I am trying to get an Excel file, which I want to use as a Master File, to save as a different name when users fill in some of the fields.

ie Field 1 = User Name.......... The file will automatically save as "User Name".

Anyone know if this can be done?

Thanks in advance
 
P

Paul B

Phil, try something like this
ActiveWorkbook.SaveAs Filename:=Range("A1").Value & ".xls"


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 97
** remove news from my email address to reply by email **
philtraynor said:
Hi,

I am trying to get an Excel file, which I want to use as a Master File, to
save as a different name when users fill in some of the fields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top