mmetzinger
Board Regular
- Joined
- Dec 30, 2010
- Messages
- 61
OK, so I recorded the following formula in excel but I need to change it so that it uses a variable for the column instead of a fixed column
Currently I have:
I need something like:
CallColumn is a string variable that holds a column letter that may shift depending on how the user has arranged their sheet. This is why I need the formula to be dynamic as well.
Thanks for any help!
Currently I have:
Code:
ActiveCell.FormulaR1C1 = "=SUM('Inbound Calls Handled'!C[-1])"
I need something like:
Code:
ActiveCell.FormulaR1C1 = "=SUM('Inbound Calls Handled' CallColumn [-1])"
CallColumn is a string variable that holds a column letter that may shift depending on how the user has arranged their sheet. This is why I need the formula to be dynamic as well.
Thanks for any help!