ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Summing in Macros (https://www.excelbanter.com/excel-programming/285137-summing-macros.html)

tjohn176[_5_]

Summing in Macros
 
Still looking for a little help with any part of my problems wit
summing and/or subtotaling. I would like to be a contributor instea
of a receiver of info. on this forum, but it is a slow learnin
process

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Summing in Macros
 
Dim rng as Range
set rng = Columns(3).specialCells(xlConstants,xlNumbers)
set rng1 = Intersect(rng.EntireRow,Columns(4))
rng1.formula = "=" & rng1(1,-1).Address(0,0) & _
"*" & rng1(1,0).address(0,0)

Will put in your formulas

Zip the text file and send it to me and I will suggest a method to do the
rest.

--
Regards,
Tom Ogilvy



"tjohn176" wrote in message
...
Still looking for a little help with any part of my problems with
summing and/or subtotaling. I would like to be a contributor instead
of a receiver of info. on this forum, but it is a slow learning
process.


---
Message posted from
http://www.ExcelForum.com/





All times are GMT +1. The time now is 07:34 PM.

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