Automatically naming a file using cell contents

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I use the contents of a cell to automatically name a file using a
macro to populate Save As?
 
Include this in your macro:
Activeworkbook.SaveAs Filenmae:=Range("A1").Value & ".xls"

tj
 

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

Back
Top