I am trying to simplify and reduce the amount of code i have.
For some reason i expected the "range" to act as some kind of 'identifier' for the code immediately following it....
Is there a way to select/activate a dynamic cell or range of cells (in this case, "AU2"), so that it is identified by the macro that is called after the formula is entered, on the same line of code?
( the called macro is operating via the 'selection' method. )
or does it have to be a seperate "range(AU2).select" line of code to allow the macro to identify the cell/range of the formula.
Is there a way to build the "select" part into the range.Formula idea?
I was hoping it could be simplified and exist on just one line? or am i dreaming?
I have 1000's of these.
Any help is greatly appreciated.
For some reason i expected the "range" to act as some kind of 'identifier' for the code immediately following it....
Is there a way to select/activate a dynamic cell or range of cells (in this case, "AU2"), so that it is identified by the macro that is called after the formula is entered, on the same line of code?
( the called macro is operating via the 'selection' method. )
or does it have to be a seperate "range(AU2).select" line of code to allow the macro to identify the cell/range of the formula.
Is there a way to build the "select" part into the range.Formula idea?
I was hoping it could be simplified and exist on just one line? or am i dreaming?
I have 1000's of these.
Any help is greatly appreciated.
VBA Code:
range("AU2").FormulaR1C1 = "=RC[-1]&""_""&RC[-44]"
Call EXCEL_COPYDOWN_A '________copydown___paste____A______________________