saving with name from cell

  • Thread starter Thread starter jamaz
  • Start date Start date
J

jamaz

Hi all.

I'm trying to place the contents of a cell (or two) into the save a
name when saving a workbook.

Anyone know of a simple way to accomplish this?

Thanks
 
You can use this jamaz

ActiveWorkbook.SaveAs Sheets("mysheet").Range("d1").Value & ".xls"

Or

ActiveWorkbook.SaveAs Sheets("mysheet").Range("d1").Value _
& Sheets("mysheet").Range("A1").Value & ".xls"
 

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