Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Dave. I figured it had to be something simple, and I just couldn't
figure it out using my little macro book. Works like a charm. "Dave Peterson" wrote: You can use a string variable to hold a nicely formatted data: dim myDateStr as string mydatestr = format(date,"mm-dd-yyyy") or whatever mdy, dmy, ydm, ... format you want. Johnny Mick wrote: I have to save a file using 'todays' date in the filename. I had to change my system settings in order for the macro to work on my desktop. Runs properly. I am being moved into a different position, and now someone else is going to be having to run this macro. Is there a way to programmatically change the date format (so that it uses a ' - ' separator, instead of the ' / ' default)? It would be nice to not have to change everyone's system settings, just so they can run my macro. Oh yeah, beginner/novice excel macro writer, so this is probably an easy one to answer. Thanks in advance for any assistance. -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use 100 separator inspite of 1000 separator in excel | Excel Worksheet Functions | |||
Date separator | Excel Discussion (Misc queries) | |||
Strange date separator in Excel | Excel Discussion (Misc queries) | |||
Strange date separator in Excel | Excel Discussion (Misc queries) | |||
When I open my past invoice it keeps changing date to todays date | Excel Worksheet Functions |