+ Reply to Thread
Results 1 to 4 of 4

Date Format Of User PC Changes Display format date of Excel File after update

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    23

    Date Format Of User PC Changes Display format date of Excel File after update

    Hi All ,

    I have to update data into excel file via userform.
    The file is place in shared folder for user to update respectively.

    Issue here is Different PC/notebook has Global Setting on Operating System for Date Display
    ie
    M/d/yyyy
    dd-MMM-yy
    MM/dd/yyyy

    But when i was developing the file i fixed the column (H) to d/m/yyyy

    Issue 1 , when their PC setting date is d/m/yyyy , when they filled up the form , results the date will displays 22/5/2014 or 2/12/2013
    ** This is fine with me as then the Userform will pull the data of date correctly.

    Issue 2 , when their PC setting date is m/d/yy , when they filled up the form , results the date to display as 5/31/2013 (in column H)

    Issue 3 , when their PC setting date is dd-MMM-yyyy , they will face error when trying yo update the file using userform.
    Current workaround was to asked them to change the date global setting to d/m/yyyy when updating the file , and can revoke setting
    to their original after updating the myfile.

    now the results in the file is in a mess , am not sure now if it display as 3/2/2013 (its 3rd Feb or 2nd March) .

    Worst is when i query the specific results , since i slice the column into (3) data for date 5/31/2014 , so Month will take 31 into Textbox of userform after i click which data to edit from Listbox.


    ComboAcceptDay.Value = Split(Listbox1.List(r, 6), "/")(0)
    ComboAcceptMonth.Value = Split(Listbox1.List(r, 6), "/")(1)
    ComboAcceptYear.Value = Right(Listbox1.List(r, 6), 4)

    Any suggestion is most welcome on how to clear the mess in results data in excel.

    is there a way irregardless global setting in user PC , when they update my file , the date is fixed displayed as d/m/yyyy ?

    Thanks very much in advance.

    Br ,
    waiHar
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Date Format Of User PC Changes Display format date of Excel File after update

    One by one your threads pls.

    What's about your other thread. Still no feedback there!

    http://www.excelforum.com/excel-prog...x-reached.html
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    12-12-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Date Format Of User PC Changes Display format date of Excel File after update

    hi Fotis , i just reply the post in the links , thanks for the suggestion , but i got stuck on the last line after adding, if i remark the last line it works well.
    thats why i suspect its a max number there. for ListBox.

  4. #4
    Registered User
    Join Date
    12-12-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Date Format Of User PC Changes Display format date of Excel File after update

    Hi Fotis , will you have any idea to advise on this posting of display format date. Seems to be no ones can help me here ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel Format Date does not update- Some help needed :)
    By DamienR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2013, 12:22 AM
  2. [SOLVED] I would like to display the date format in the user's locale setting
    By percy1984 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2013, 01:53 AM
  3. Replies: 5
    Last Post: 02-08-2013, 11:06 AM
  4. Excel User Form - Date format
    By Alice21 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-25-2012, 09:10 AM
  5. Not able to change date format into proper excel date format
    By excel5111987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2011, 08:19 AM

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