Excel file save macro.

  • Thread starter Thread starter darrenlshipley
  • Start date Start date
D

darrenlshipley

I need help with a macro. I want to be able to save a file as a listed
name, that is referenced in a cell, in a directory that is listed in a
different cell.
 
Try this:

ActiveWorkbook.SaveAs Filename:=Range("A1")

A1 would be the cell with the desired file name.
If desired, A1 can contain a specific directory to save the file. (ex -
C:\Windows\filename.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