WorksheetFunction.EoMonth failing in excel 2003 -
i wrote vba in excel 2010 when user on 2003 tries run code falling on @ this:
if test >= worksheetfunction.eomonth(date, -1) + 1 , test <= worksheetfunction.eomonth(date, -1) + 9
with runtime error 483, presume because not supported in 2003?
how can go solving this?
add analysispack , add reference atpvbaen.xls using tools - references
you can use function replacing
worksheetfunction.eomonth
with
[atpvbaen.xls].eomonth
Comments
Post a Comment