BUSDAYPREVIOUS

BUSDAYPREVIOUS(dtDateValue)
Returns the previous business day if the given date is not a business day.

dtDateValue

REMARKS
* You can use the built-in WORKDAY.INTL function to return the date serial number that is a given number of working days before or after a date.
* You can use the user defined BUSDAYNEXT function to
* You can use the user defined BUSDAYMONTHSTART function to
* You can use the user defined BUSDAYMONTHEND function to
* You can use the user defined BUSDAYYEARSTART function to
* You can use the user defined BUSDAYYEAREND function to
* You can use the user defined BUSDAYNTH function to
* You can use the user defined BUSDAYSADD function to
* You can use the user defined BUSDAYDIFF function to
Public Function BUSDAYPREVIOUS( _

Public Function BUSDAYPREVIOUS( _ 
         ByVal dtDateValue As Date) _
         As Date

   BUSDAYPREVIOUS = Application.WorksheetFunction.WorkDay_Intl(dtDateValue, -1)
End Function

For instructions on how to add this function to a workbook refer to the page under Inserting Functions


© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext