Results 1 to 6 of 6

Copying date values from Userform to Spreadsheet keeping same format

Threaded View

  1. #1
    Registered User
    Join Date
    05-07-2010
    Location
    Queensland, Australia
    MS-Off Ver
    Excel 2003
    Posts
    29

    Copying date values from Userform to Spreadsheet keeping same format

    Hi All,
    I am having a bit of a problem with copying a date entered into a userform into a spreadsheet keeping the right format.
    Say if I enter the value dd/mm/yyyy in the user form when it copies to the spreadsheet it displays this as mm/dd/yyyy.
    here is an the part of my coping sub:

    Range("E" & lastrow).Value = Format(Me.L_DO.Value, "DD/MM/YYYY")
    I even have in the initialise sub:
    Me.L_DO = Format(Date, "DD/MM/YYYY")
    But still can't get it to copy over properly.

    Any help is greatly appreciated

    Cheers
    Last edited by mhuddles1981; 08-13-2010 at 01:48 AM. Reason: Solved

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