Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Workbooks.SaveAs "7A " & Activesheet.Range("B3").Value
and Workbooks.Open"7A " & Activesheet.Range("C3").Value -- __________________________________ HTH Bob "Berj" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
filename as variable | Excel Programming | |||
Filename variable | Excel Programming | |||
Converting a Variable Filename to a Constant Filename | Excel Programming | |||
Variable Filename calls | Excel Programming | |||
Filename Variable? | Excel Programming |