Hi,
I'm looking for some simple VBA to put in a macro that will enable me to copy a formula from a cell and paste the formula into the cells to the right till a set number of columns, the number of columns being specified in another cell...
Eg. formula is in cell A2, cell A1 contains the number 50, and when executed the VBA populates cells B2:AZ2 with the formula in A1
Hope you may be able to assist.
Regards,
Chris
I'm looking for some simple VBA to put in a macro that will enable me to copy a formula from a cell and paste the formula into the cells to the right till a set number of columns, the number of columns being specified in another cell...
Eg. formula is in cell A2, cell A1 contains the number 50, and when executed the VBA populates cells B2:AZ2 with the formula in A1
Hope you may be able to assist.
Regards,
Chris