+ Reply to Thread
Results 1 to 5 of 5

VBA to save file as next BUSINESS date

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Arizona, USA
    MS-Off Ver
    Excel Mac 2011
    Posts
    59

    VBA to save file as next BUSINESS date

    Hello again.

    I would like the code to save a file as the next BUSINESS date.
    If today's date = Friday then I would like Monday's date.
    If Monday is a US Holiday then Tuesday's date.
    This is the code I'm using, which saves as the next CALENDAR date:
    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: VBA to save file as next BUSINESS date

    Hi symaxf,

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: VBA to save file as next BUSINESS date

    Or,
    Please Login or Register  to view this content.
    Last edited by berlan; 08-04-2015 at 02:48 AM. Reason: minor change

  4. #4
    Registered User
    Join Date
    08-19-2010
    Location
    Arizona, USA
    MS-Off Ver
    Excel Mac 2011
    Posts
    59

    Re: VBA to save file as next BUSINESS date

    Thank you both! This worked like a charm!

  5. #5
    Registered User
    Join Date
    10-21-2016
    Location
    New York
    MS-Off Ver
    2010
    Posts
    1

    Re: VBA to save file as next BUSINESS date

    Hello!

    I would like to select a cell from a column (say B4) which contains a date and then use the next business day of that date as a part of the filename and save it.

    Any help will be hugely appreciated. I am pretty new to VBA.

    Thank you in advance.

+ 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] Macro to save file - save name from cell containing a date using different date formatting
    By d_max_c in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2014, 12:18 PM
  2. [SOLVED] save open worksheet to file and include date of save
    By shaz0503 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-12-2014, 08:50 AM
  3. Replies: 1
    Last Post: 10-25-2013, 12:49 AM
  4. [SOLVED] Save invoice to folder by month and then save file by date and invoice
    By Val777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2013, 02:57 AM
  5. Save file with date
    By waqarqrl in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-05-2012, 03:42 PM
  6. Save file by date
    By James580 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2008, 10:21 AM
  7. Macro to save Excel file with date and time in the file name?
    By sonic_d_hog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2006, 02:00 PM

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