+ Reply to Thread
Results 1 to 9 of 9

IFERROR Statement in VBA for date

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    IFERROR Statement in VBA for date

    Hi Guys,

    Once again i need your expertise to solve my problem and thank you so far the help has been so perfect .

    My problem now is that i want to make an iferror statement for the code below & i tried many ways already but it doesn't work.Below is my code..

    Please Login or Register  to view this content.
    The above code works perfect but only 1 problem. The cell A3 in the code is a date, basically i put a date in it to make it as a start point, but sometimes there will be a date missing so what i want to do is just to say if the match function is error( can't find the date ) then just +1 date. For example : i put 18 September and its error because there is no 18 September in the Data, so i want to search for 19 September.

    Any kind of help will be appreciated. Thanks in advance

  2. #2
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IFERROR Statement in VBA for date

    Bump... anyone can help? even a direction to the website is also fine with me..

  3. #3
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IFERROR Statement in VBA for date

    Bump..Bump...Bump..

  4. #4
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IFERROR Statement in VBA for date

    Bump again...anyone can shed some light in this matter?

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

    Re: IFERROR Statement in VBA for date

    Please confirm what needs to be done if 19 September also not available in the source?

    At the same time confirm whether the entry 18 September in cell is real date?


    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

  6. #6
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IFERROR Statement in VBA for date

    Hi sixthsense,

    Thanks you very much for replying my post, If 18 September doesn't exist then 19 will surely be exist in the data.
    The reference cell contain a real date , if you click on the cell ( means edit the cell ) it will show 9/18/2013 , when you didn't click it, it will show 18-Sep-13 ( just telling in case it affect the making of the code )

    Please ask me if anything unclear. Thanks

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

    Re: IFERROR Statement in VBA for date

    Thanks for the brief... Try this...

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-26-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IFERROR Statement in VBA for date

    Hi sixthsense,

    It works great!! Thank you so much for your help

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

    Re: IFERROR Statement in VBA for date

    Glad it helps you and thanks for the feedback

+ 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. IFERROR and DATE
    By Kevalin O in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2013, 05:24 AM
  2. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  3. [SOLVED] If Statement with today's date minus due date for a delay calculation
    By RDFUC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 02:58 PM
  4. Replies: 2
    Last Post: 06-12-2012, 04:50 PM
  5. Replies: 8
    Last Post: 12-21-2007, 12:21 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