Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Imagine a new worksheet and in the range B2:B6 you have the values 1
3 4 5. If you highlight this range, provided you have selected "SUM from the right click menu on the statusbar, the result Sum = 25 appear in the status bar. So, in VBA, how do I capture that result!? I want to be able to selec my range - Range("B2:B6").select - and then capture that sum of th values within that range but I can't work out how to do it. Yes I could loop through all the cells within the range building up th calc but I must be able to use the status bar Auto Calculate featur somehow.... Many thanks guys Ba -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
List values based on different values selected | Excel Discussion (Misc queries) | |||
SUMPRODUCT or SUMIF if any values in a range equal any values in another range | Excel Worksheet Functions | |||
Automatically clear values from a range of selected cells | Excel Discussion (Misc queries) | |||
Assigning values from a selected range to individual variables | Excel Programming | |||
Box around selected range | Excel Programming |