Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using Excel 2007 I'm getting an error message.
ActiveWorkbook.SaveAs "C:\Users\Michael Guergawi\Documents\ & Format(Date, mmddyy) & .csv what Am I missing? Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try the below...The file format is to be specified
Dim strFile As String strFile = "C:\Users\Michael Guergawi\Documents\" & _ Format(Date, "mmddyy") & ".csv" Application.DisplayAlerts = False ActiveWorkbook.SaveAs Filename:=strFile, FileFormat:=xlCSVMSDOS Application.DisplayAlerts = True If this post helps click Yes --------------- Jacob Skaria "LuisE" wrote: Using Excel 2007 I'm getting an error message. ActiveWorkbook.SaveAs "C:\Users\Michael Guergawi\Documents\ & Format(Date, mmddyy) & .csv what Am I missing? Thanks in advance |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Would you like to share with us what the error message says?
"LuisE" wrote in message ... Using Excel 2007 I'm getting an error message. ActiveWorkbook.SaveAs "C:\Users\Michael Guergawi\Documents\" & Format(Date, "mmddyy") & ".csv" what Am I missing? Thanks in advance |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks I just did what Jacob suggested and it worked
"JLGWhiz" wrote: Would you like to share with us what the error message says? "LuisE" wrote in message ... Using Excel 2007 I'm getting an error message. ActiveWorkbook.SaveAs "C:\Users\Michael Guergawi\Documents\" & Format(Date, "mmddyy") & ".csv" what Am I missing? Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
saveas ActiveWorkbook.SaveAs Filename:=Range("A1").Value | Excel Programming | |||
ActiveWorkbook.SaveAs | Excel Programming | |||
Help with ActiveWorkbook.SaveAs | Excel Programming | |||
ActiveWorkbook.SaveAs | Excel Programming | |||
activeworkbook.saveas - saving format changes | Excel Programming |