Afternoon all,
Been lurking around the forums on and off for some time.
Its been a while since i needed to do anything in VBA and as such I am very rusty but hoping you guys can help me out with something.
I need to be able to loop through each cell of a selected range, and for each cell, i need to change any row values given in any/all formulas within the cell.
The new row value will be an increment off a number given by the end user.
so for example:
a value of 125 could be given,
=mySheet!$B$10+mySheet!$B$19+mySheet!$B$20
Would become
=mySheet!$B$135+mySheet!$B$144+mySheet!$B$145
I have only used 1 cell as an example here but the reason VBA is needed is because the cells could contain a different formula and I could need to change anything up to 100 or so cells.
I know its possible as I have done it in the past, but like an idiot i forgot to save it somewhere for future use.
I hope that makes sense and I haven't overly complicated things.
The code I have so far is as follows:
Thanks in advance for any help given.
Bookmarks