+ Reply to Thread
Results 1 to 4 of 4

Macro saves my CSV file with dates in American format

  1. #1
    Registered User
    Join Date
    01-09-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro saves my CSV file with dates in American format

    Hi All,

    I have recorded a macro to save each worksheet in my file to a separate CSV file (which I then upload to my accounting software). My problem is that when I run through the keystrokes manually I get UK format on the dates but if I run the same keystrokes in the recorded macro the dates could out in USA format and are rejected by my accounting software. The marco looks like this:

    Please Login or Register  to view this content.
    Please let me know how to tell Excel to use UK dates.

    Kind regards,

    Janine
    Last edited by JulietMikeMike; 01-10-2013 at 06:15 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,618

    Re: Macro saves my CSV file with dates in American format

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    01-09-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro saves my CSV file with dates in American format

    I'm sorry but I don't understand what is wrong with my title. To me it does concisely describe my problem, what more do you need? As for rule 3 - how do I edit the text the add the code tags? I don't even know how to get back to the post window. Should I just give up?

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Macro saves my CSV file with dates in American format

    no where in your code does date get mentioned?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1