Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have sets of cells that are maybe 7 columns wide by 5 rows deep,
followed by another 12 columns wide by 2 rows deep, then another just 5 rows by 5 columns. Something similar to http://spreadsheets.google.com/ccc?k...RycNcWUQ&hl=en How would I create a function that passes the sum of any grid to a varable, no matter the dimension of the grid? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
myVar = Application.Sum(Activecell.CurrentRegion)
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "wutzke" wrote in message ... I have sets of cells that are maybe 7 columns wide by 5 rows deep, followed by another 12 columns wide by 2 rows deep, then another just 5 rows by 5 columns. Something similar to http://spreadsheets.google.com/ccc?k...RycNcWUQ&hl=en How would I create a function that passes the sum of any grid to a varable, no matter the dimension of the grid? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 31, 4:59*am, "Bob Phillips" wrote:
myVar = Application.Sum(Activecell.CurrentRegion) thanks that was great help |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Bob.
On Aug 31, 4:59*am, "Bob Phillips" wrote: myVar = Application.Sum(Activecell.CurrentRegion) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine if range has NO Blank Cells without looping through each cell in range | Excel Programming | |||
how to compute a range of cells based on another range of cells? | Excel Worksheet Functions | |||
how to compute a range of cells based on another range of cells? | Excel Worksheet Functions | |||
Compare a selected Range with a Named range and select cells that do not exist | Excel Programming | |||
Copy a formula to a range of cells via VB6 using .Range(Cells(row,col), Cells(row,col)).Formula= statement | Excel Programming |