i am writing a macro for excel.
i have few subs.
there are some variables (like "file_name") which i would like to use in all the subs.
how to i do so?
(i declared them in the "general")
I am using FormulaR1C1, as in:
Worksheets(sheet1).Range("b5").FormulaR1C1 = "=R[1]C[2]"
Sometimes the index will be raltive to the current cell (in this case, "c7") and sometimes absolute (in this case, "b3").
How can I conrtol it?
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.