+ Reply to Thread
Results 1 to 3 of 3

VbA code to find previous date

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    VbA code to find previous date

    Hi All

    I want VbA code to find a date 1 less than todays date taking into account weekends/Bank Holidays.

    Any help will be much appreciated.
    Thanks

  2. #2
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: VbA code to find previous date

    I have set up the table for bank holidays. please see attached.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: VbA code to find previous date

    I am using the following code:

    Please Login or Register  to view this content.
    But I also need to check bank holidays and Weekends too in the code. Any help will be much appreciated.
    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. [SOLVED] Find previous date to 'X' in a list when 'ID' = 'Y'
    By deneh in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2014, 12:31 PM
  2. [SOLVED] Find out previous date
    By pwnyadav007 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2013, 06:42 AM
  3. Replies: 0
    Last Post: 05-30-2013, 07:50 PM
  4. [SOLVED] Find previous date
    By joh46k in forum Excel General
    Replies: 1
    Last Post: 04-20-2013, 01:58 AM
  5. How to find last date of the previous month
    By arnab0711 in forum Excel General
    Replies: 2
    Last Post: 01-19-2011, 01:36 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