+ Reply to Thread
Results 1 to 2 of 2

date inputbox value correction

Hybrid View

  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    96

    date inputbox value correction

    it show error , plz help me to coorrect it .
    inabsent = CDate(InputBox("Enter the desired date for which total number of absent applicants data is required"))
              If inabsent = Empty Then Exit Sub

  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 inputbox value correction

    Try this...

    On Error Resume Next
    inabsent = CDate(InputBox("Enter the desired date for which total number of absent applicants data is required"))
    If inabsent = "" Then Exit Sub


    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

+ 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. Help on date input with Inputbox
    By miaozi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 01:31 PM
  2. Inputbox Date Validation
    By wishmaker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-16-2009, 05:35 AM
  3. Input date without using an InputBox
    By tvonbehren in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-15-2009, 02:07 PM
  4. [SOLVED] inputbox uk date
    By tina in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2006, 05:50 AM
  5. [SOLVED] InputBox a date
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-12-2005, 10:06 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