Hello
First of all, I would like to thank everyone who contributed to this forum. I would like to ask a question:
When we type a formula in a cell, for example:
D1=B1+C1
when we add a column before column B the formula returns to
E1=C1+D1
So that when a column or row added, formulas updated automatically.
My question is:
Is this automatically updating possible in macro code when we do such calculations with vba macros. For example, our code is
Range ("D1") = Range ("B1") + Range ("C1")
Then we add a column before column B, is it possible to update the formula like
Range ("E1") = Range ("C1") + Range ("D1")
I can handle this with find & replace, but if there are dozens of formulas in the code, it's a very difficult process when adding or deleting columns or rows.
Thanks…
Bookmarks