Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save As Error
objWkb.SaveAs saveFolder & "\DAILY WAR ROOM LOG_" & Format(DATE, "mmmm dd",
"yyyy") & ".xls" I am getting a "Type Mismatch error", any ideas why? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save As Error
Hi,
Assuming you have set objKkb and savefolder to something then this should work objwkb.SaveAs saveFolder & "\DAILY WAR ROOM LOG_" & Format(Date, "mmmm dd yyyy") & ".xls" Mike "Ayo" wrote: objWkb.SaveAs saveFolder & "\DAILY WAR ROOM LOG_" & Format(DATE, "mmmm dd", "yyyy") & ".xls" I am getting a "Type Mismatch error", any ideas why? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save As Error
Hi,
Just and afterthought. I would be more usual to have the \ before the file name as part of the save folder variable for example saveFolder= "C:\thisfolder\thatfolder\ and omit it from in from of the filename text Mike "Ayo" wrote: objWkb.SaveAs saveFolder & "\DAILY WAR ROOM LOG_" & Format(DATE, "mmmm dd", "yyyy") & ".xls" I am getting a "Type Mismatch error", any ideas why? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error and Save as question | Excel Discussion (Misc queries) | |||
Formula Save Error | Excel Discussion (Misc queries) | |||
Why this error ?: Excel could not save all the data and formatting | Excel Discussion (Misc queries) | |||
Error when save as CSV with VBA password protection on | Excel Discussion (Misc queries) | |||
Excel Save Error | Excel Discussion (Misc queries) |