Hello,
I need to use VBA to sum a set of data on a row. The data is in cells B2 through M2. In the example, I have to use A1 as the range start point and use an offset to get me to cell B2. I then need to use the xlToRight function as the range to sum. I was thinking about using a with statement with the range as A1. I can't figure out how to sum the data from there.
Thanks for your help.
I need to use VBA to sum a set of data on a row. The data is in cells B2 through M2. In the example, I have to use A1 as the range start point and use an offset to get me to cell B2. I then need to use the xlToRight function as the range to sum. I was thinking about using a with statement with the range as A1. I can't figure out how to sum the data from there.
Thanks for your help.