I am trying to put the following formula into an excel sheet via vba.........
but its giving me "0"Please Login or Register to view this content.
if i change the formula to this.........it works
Please Login or Register to view this content.
problem i am having is in my vba code i have a variable
current_month = "9/1/11"
But no matter what i try i can seem to get the date into the right format for this formula to be inserted correctly........any ideas?
Bookmarks