+ Reply to Thread
Results 1 to 4 of 4

Date in Textbox

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    UAE
    MS-Off Ver
    Excel 2010
    Posts
    11

    Date in Textbox

    Hi,

    I have been trying several ways, but not giving a result as required. I just wanted to have a vba to restrict data entry into a text box, so that only a date could be entered.

    Regards,
    Seemanth
    Last edited by seemanthv; 03-06-2014 at 06:21 AM. Reason: Issue resolved

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Date in Textbox

    Use VBA IsDate() function like this....

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    UAE
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Date in Textbox

    Thanks sixthsense.
    _Exit didn't work for me, but I changed to _LostFocus and it is working
    Regards,
    Seemanth

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Date in Textbox

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Adding one TextBox with weeks to text box with date to give final Date
    By davidloops in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2013, 08:25 PM
  2. TextBox date
    By ozhunter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-09-2011, 04:28 AM
  3. [SOLVED] Date in TextBox
    By damorrison in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2006, 05:35 PM
  4. [SOLVED] Compare date in cell to date in Textbox
    By asmenut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2006, 10:55 AM
  5. Textbox date
    By Ian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-25-2005, 07:50 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