+ Reply to Thread
Results 1 to 3 of 3

textbox change, add forward slash as date is being entered.

  1. #1
    Registered User
    Join Date
    08-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    57

    textbox change, add forward slash as date is being entered.

    I am hoping that it is possible to have a forward slash entered as the date is being typed into a textbox ie: after 2 digits entered then after next 2 digits, I currently have the below code which puts the forward slash when exiting the cell, I would like it to be done as the data is being entered so it looks like 15/01/2014.

    Is this a big problem to acheive?
    Please Login or Register  to view this content.
    Thanks for any advice.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: textbox change, add forward slash as date is being entered.

    Wouldnt it be easier just to use 1 command AFTER the user inputs the data...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    57

    Re: textbox change, add forward slash as date is being entered.

    Thanks ranman that shortend the code alot, I am just trying to make the data entry a little more user friendly, thats why I was hoping to add the forward slashes as the date is entered.

+ 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. How do you remove all text before the last forward slash?
    By lukesmith7 in forum Excel General
    Replies: 7
    Last Post: 05-22-2014, 07:59 AM
  2. How do you remove text before the last forward slash?
    By lukesmith7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2014, 07:31 AM
  3. fill dot or slash automatically to date in Textbox
    By elevisse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2012, 07:15 AM
  4. [SOLVED] multiple record to single with frequent change in string at forward slash
    By cruise.alter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2012, 06:26 AM
  5. Forward Slash Problem
    By mortikiv in forum Excel General
    Replies: 3
    Last Post: 11-06-2007, 01:59 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