Hi,
I have started to write a macro to create document easily.
It is going to finish but I found a mistake in my macro. When I update input of my function, it updates variable of my formula. But it gives error.
My Formula:
oCellYD.setFormula("=K" & iRowYD + 1 "*L" & iRowYD + 1 "*N" & iRowYD + 1 & "*M" & iRowYD + 1 & "/O" & iRowYD + 1)
It gives error. That is:
"BASIC syntax error.
Parentheses do not match."
I guess, it is about iRowYD variable. Every time, I call my function, iRowYD variable changes(increases).
Where should I change to fix this issue.
Sorry for my bad English.
Thanks for your time.