Hi all, if I have a simple formula such as =a1, can I use VBA to update it to a2?
Would really appreciate the help
Hi all, if I have a simple formula such as =a1, can I use VBA to update it to a2?
Would really appreciate the help
What do you mean when you say update? It sounds like you want to copy the value from A1 into A2.
No, I basically just want the formula "=A1" to change to "=A2", can that be done using VBA
Perhaps something like this?
Alf![]()
Please Login or Register to view this content.
Thats great, just one slight problem though, if I insert the code into a macro button, how can I make sure that everytime I click the macro button, the cell changes, for example if I click it once then the cell changes from A1 to A2, if I click the button again then the cell changes to A3, is there a way to do that?
You could try this macro then. Have not done any extensive testing but the way it's written it should work up to A10.
Alf![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks