Returns the largest value in a range of cells in the whole workbook.
MAX3D is very similar to the MAX function of Microsoft Excel. The main difference is that MAX3D considers all worksheets, while the original MAX function doesn't.
range_input - is the range for which you want to find out the largest value.
include_current - Optional. Boolean argument , either TRUE or FALSE. Decides whether the current worksheet is included in the function's consideration. TRUE means the current worksheet will be considered, and vice versa.