ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sum Formula (https://www.excelbanter.com/excel-programming/321837-sum-formula.html)

SteveS

Sum Formula
 
I would like to add a sum formula to a worksheet containing tabular numeric
data using VBA. I know that the sum formula for each row is @SUM(1,1:1,X).
How do I add the formula and do I have to do it for each row or can I copy it
and Excel will make the row number changes? I do not know the letter column
for the range but do know the numeric number. The amount of columns will vary
each time I run this macro. Thank you for any help you may offer me.


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com