+ Reply to Thread
Results 1 to 3 of 3

Macro to search through dates not working :/

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    16

    Macro to search through dates not working :/

    Hi,

    I have a file that is generated everyday and I want my macro to open the file and check through all the dates in column D that are not yesterdays date. However, date is in format yyyymmdd, therefore was going to do text to columns macro to change this then run my IF statement but I am missing something as it is not working any help?

    Also, I know I need to make the sheet active, however the sheet name changes daily?

    Thanks
    A

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to search through dates not working :/

    I suspect the date format should be

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Macro to search through dates not working :/

    Shall give it a bash although I think it is something more! Thanks for your reply

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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