Variable Filename

  • Thread starter Thread starter Berj
  • Start date Start date
B

Berj

Hi Guys,

In an Excel Macro I want to use a command to save an active Excel file in
folder C:\2009 and the name of the file should be 7A ‘space’ and then the
contents of cell B3 of the active file.
Example: 7A Garo (Garo is the contents of cell B3)

In another macro I want to open this same file keeping the 7A constant but
the rest of the filename is the contents of a cell C3 of the active file.

Thanks
 
Workbooks.SaveAs "7A " & Activesheet.Range("B3").Value

and

Workbooks.Open"7A " & Activesheet.Range("C3").Value
 
Back
Top