Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm using this macro : Dim vFilename vFilename = "Export Q 1.0 " & Worksheets ("Export").Range("A2").Value & ".xls" ChDir "C:\" ActiveWorkbook.SaveAs Filename:=vFilename, FileFormat:= _ xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False _ , CreateBackup:=False ActiveWindow.Close The problem is that the file is not allways saved on c: Is it possible to save it allways on C: Or is it even possible to save in on C:\XXX. Can be checked If c:\XXX exists ? If not create C:\XXX ? Thanks ! Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
run marco to send a excel file by email(lotus note) | Excel Discussion (Misc queries) | |||
Marco To Save Column A7 As A .txt File. | Excel Worksheet Functions | |||
when i save xls file, debug script is running and canno't save fil | Excel Discussion (Misc queries) | |||
Excell2003 (SP-1) File > Save and File > Save As.. grayed out | Excel Discussion (Misc queries) | |||
Save File to Another Directory, but not change Users File Save location | Excel Programming |