+ Reply to Thread
Results 1 to 2 of 2

listbox changes dateformat

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    46

    Red face listbox changes dateformat

    Hi, hope someone can help as I have tried so many ways to get this to work -to no avail

    When I run my search macro to return results display on listbox the dates that are in column "E". All results are returned fine except for the dates. My column on my workbook are formatted to UK date format, my region is UK. My datepicker that is triggered by click (textbox4 is one of them) is also dd/mm/yyyy formatted.

    When I search or amend a record, my dates are always returning in US format; so if I yield five results, they will display as US format.

    I just need my date columns to hold UK format.

    Please see my code below-it has been adapted based on userform from royUK (thank you).Sorry its a bit big!


    Please Login or Register  to view this content.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: listbox changes dateformat

    Have you tried this?

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. VBA DateFormat
    By jagadeesh.rt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-29-2014, 02:48 AM
  2. Stop Excel from converting numbers to Dateformat
    By ChrisNor in forum Excel General
    Replies: 13
    Last Post: 11-12-2011, 04:16 AM
  3. Problem with dateformat when copied from userform
    By age in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2007, 02:02 PM
  4. [SOLVED] VBA Excel Chart DateFormat Language Settings Locale
    By Marabu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2006, 07:20 AM
  5. Dateformat
    By Kjeldc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2005, 05:06 PM

Tags for this Thread

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