Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
The following code works to name a Save_As file (but I want to add data from two cells to the name of the file): ActiveWorkbook.SaveAs Filename:= _ "C:\Filename.xls" _ , FileFormat:=xlNormal, Password:="", WriteResPassword:="", _ ReadOnlyRecommended:=False, CreateBackup:=False I want the complete file name to be made up of : "C:\Filename " & <the string of data from merged cell C1:E1 & €ś €ś & <the string of data from cell I1 & ".xls" _ I dont seem to be able to retrieve data from the cells in a format that doesnt generate error messages like €śMismatch,€ť €śExpected expression,€ť or €śSub or Function not defined.€ť I have exhausted all of my ideas and would appreciate any suggestions. -- Dolores |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Change case...help please | Excel Worksheet Functions | |||
Excell2003 (SP-1) File > Save and File > Save As.. grayed out | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) | |||
Weekly Transaction Processing | Excel Worksheet Functions |