I am running code that iterates a formula starting in cell V2 through a variable 'n' that is defined by the number of constants in an adjacent column. The excel formula i am trying to copy down is as follows: =IF(OR(BG2="",BH2=""),"No","Yes")
BG2 and BH2 are dates if it matters. basically, if either of those cells are blank, the returning value is no. if they both have values, return yes.
this is the code i am trying to use:
i get a runtime 1004 application defined or object defined error. all variables are defined. i think it has something to do with isblank. i have tried using """" as well for a blank status and i get the same error.
Can anyone help with a work around?
Bookmarks