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

Popular posts from this blog

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -