M
Marie
I am trying to use the Day() function in a macro using a line like this
intLastDay = Application.WorksheetFunction.Day(date as a serial)
But VBA does not seem to recognize Day() as a worksheetFunction
Anybody has an idea why?
PS I am using Excel 2007
intLastDay = Application.WorksheetFunction.Day(date as a serial)
But VBA does not seem to recognize Day() as a worksheetFunction
Anybody has an idea why?
PS I am using Excel 2007