I am trying to write a macro to construct the formula
=if(datacell="N",value1,value2)
into each cell in a column as it moves down.
My macro line looks like:
Activecell.Offset(0,20)="=if(T"& Activecell.Row & "="N",v1,v2)"
Because the formula to be inserted is within Quotation marks, it is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.