Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a european date format ("23-12-06") in a cell, and I am doing my own
saveas in a macro. If I call Application.Dialogs(xlDialogSaveAs).Show, and save it in text, tab-delimited format, I get it in US format ("12-23-06"). There is a local:=True parameter that can be added to ActiveWorkbook.SaveAs method, but can I set this for the Show method, or intercept the save from the Show method and get the filename and format and do it myself? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at GetSaveAsFilename in VBA help, you might have more control
over that. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "jonnyhbgood" wrote in message ... I have a european date format ("23-12-06") in a cell, and I am doing my own saveas in a macro. If I call Application.Dialogs(xlDialogSaveAs).Show, and save it in text, tab-delimited format, I get it in US format ("12-23-06"). There is a local:=True parameter that can be added to ActiveWorkbook.SaveAs method, but can I set this for the Show method, or intercept the save from the Show method and get the filename and format and do it myself? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bob,
Thanks for the idea, but I've tried that. The problem I have with GetSaveAsFilename is the FileFilter. I cannot find a way to build the same list as Excel uses with all of the billions of saveas types. Any idea how to do this? And, if I can get this, how do I map the saveas type to the correct FileFormat? "Bob Phillips" wrote: Take a look at GetSaveAsFilename in VBA help, you might have more control over that. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "jonnyhbgood" wrote in message ... I have a european date format ("23-12-06") in a cell, and I am doing my own saveas in a macro. If I call Application.Dialogs(xlDialogSaveAs).Show, and save it in text, tab-delimited format, I get it in US format ("12-23-06"). There is a local:=True parameter that can be added to ActiveWorkbook.SaveAs method, but can I set this for the Show method, or intercept the save from the Show method and get the filename and format and do it myself? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
my saveas macro date problem | Excel Programming | |||
workbook saveas function, xlText file format | Excel Programming | |||
activeworkbook.saveas - saving format changes | Excel Programming | |||
URGENT - Need date format for SaveAs code | Excel Programming | |||
Macro to format date | Excel Programming |