Hi,Originally Posted by VBA Beginner
in Tools, Add-ins is an Analysis Toolpack, which contains an EOMonth formula, but I don't think this is directly available to VB.
One method isand use mydate in place of your <Now()+9![]()
Dim mydate Range("A1").Formula = "=eomonth(today(), 0)" mydate = Range("A1").Value MsgBox mydate
hth
---
Bookmarks