For some reason, we can't get this to work.
'add total for Pmt Reg Total column
sum_row = last_row - 1
total_cell = Cells(last_row, 21)
total_cell = WorksheetFunction.Sum(sum_row, first_row)
What we're trying to do is add the column (U, which is column 21) between the fields that have been defined as the first row and last row. Is the last piece of code correct?
Thanks in advance!
Carie
'add total for Pmt Reg Total column
sum_row = last_row - 1
total_cell = Cells(last_row, 21)
total_cell = WorksheetFunction.Sum(sum_row, first_row)
What we're trying to do is add the column (U, which is column 21) between the fields that have been defined as the first row and last row. Is the last piece of code correct?
Thanks in advance!
Carie