HELP: Cell Value as Filename?

B

bajofuego

Would it be possible to reference a cell value as a filename when saving
a worksheet?

For instance, say the sheet is an invoice and there's an invoice
number.

Aside from manually typing that number, is there a way to reference its
respective cell?

Any help with this is truly appreciated. Thank you.
 
P

Paul B

bajofuego, you could use a macro, something like this

Sub Save_As_Cell_valve()
ActiveWorkbook.SaveAs Filename:=Sheet1.Range("A1").Value & ".xls"
End Sub

--
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 2002 & 2003
 

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