I want to create a function to return a value from a sheet. The first parameter is a account number that must be passed. The second parameter is a date but that I want as an optional parameter. So if a date is entered use that date otherwise use today date as parameter.
What do I enter for = !!!?![]()
Please Login or Register to view this content.
Or do I have to leave out the = !!! part and set it inside the function?
How do I check inside the function if the date was passed or not?
Dates in VB/VBA is a pain for me![]()
Bookmarks