Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to sum all the rows in a range column wise
Values Start from G9 and ends at Rx (x is the last row num) The values get populated based on a selection from a list. The below code works perfect when i change the selection once. But when i change the selection again, the first row (i.e 9th gets filled with #REF) With Sheets("Sheet1") col = "G" For i = 1 To 12 Range(col & (x + 1)).Cells.Formula = "=Sum(" & col & "9:" & col & x & ")" col = Chr(Asc(col) + 1) Next i End With Any thoughts? Regards Thiaga |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert rows based on specific value | Excel Worksheet Functions | |||
pivot table error (25000 rows!!) | Excel Discussion (Misc queries) | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
moving alternating rows to a column with the order staying the sam | Excel Discussion (Misc queries) | |||
Return Count for LAST NonBlank Cell in each Row | Excel Worksheet Functions |