Save As "value in defined cell"

G

Guest

In a workbook, on worksheet Sheet 1, in Cell A1 I have a value. Let's say
the value is the word "timesheet". How do I save the workbook with the
filename "timesheet"? Generically, how do I save a workbook to a filename,
where the filename is the value in a defined cell on a defined worksheet in
the workbook.
 
P

protonLeah

a macro like:
Sub Macro1()
ActiveWorkbook.SaveAs _
Filename:=Range("E1").Value, _
FileFormat:=xlWorkbook, _
Password:="", _
WriteResPassword:="", _
ReadOnlyRecommended:=False, _
CreateBackup:=False
End Sub


should get you started..
 

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