I have a total line I have inserted into my spreadsheet.
The activecell in column A is offset by (0,2) to reach the destination for the formula.
In that active cell I need to SUM the values of the cells referenced by
(1)
and (2)
and (3)
and (4)
so I need to have the sum of (1)+(2)+(3)+(4) and then fill this across 12 columns.
how can I acheive this?
thanks in advance...
The activecell in column A is offset by (0,2) to reach the destination for the formula.
In that active cell I need to SUM the values of the cells referenced by
(1)
Code:
Selection.Find(What:="Committed Allocations Total", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Offset(0, 2).Activate
Code:
Selection.Find(What:="Committed Projects Total", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Offset(0, 2).Activate
and (3)
Code:
Selection.Find(What:="Very Likley Projects Total", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Offset(0, 2).Activate
Code:
Selection.Find(What:="Unplanned Very Likely Total", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Offset(0, 2).Activate
so I need to have the sum of (1)+(2)+(3)+(4) and then fill this across 12 columns.
how can I acheive this?
thanks in advance...