Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following problem.
I need to dynamically create a formula by the amount of values in a dynamically created column. THe columns get populated by the number of entries in the DB. For example: A B ----- ---- a b c =sum(b3:b1) The sum function is derived by figuring out the number of values in a. I can get the range offset for the starting point but I want to be able to get the total values form the offset. Here is an example of my code: Debug.Print "Formula: " & rng.Offset(0, 1).Address & ":" & rng.End(xlUp).Address <---- This formula is calculating the address up to A1...I need it to convert to B1 Any thoughts? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul | Excel Worksheet Functions | |||
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul | Excel Programming | |||
Find, Copy offset to offset on other sheet, Run-time 1004. | Excel Programming | |||
select offset (variable ,1) to offset(variable ,variable) | Excel Programming | |||
Problem with Range.Cells.Offset and Range.Cells( row + offset, column) | Excel Programming |