Jenaustin29
New Member
- Joined
- Oct 12, 2023
- Messages
- 5
- Office Version
- 2016
- Platform
- Windows
Selection.EntireRow.Delete
Worksheets("SalesComparison").Range("DC2") = WorksheetFunction.Subtotal(9, Range("dc4:dc" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("Dd2") = WorksheetFunction.Subtotal(9, Range("dd4:dd" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("Li2") = WorksheetFunction.Subtotal(9, Range("LI4:LI" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("LJ2") = WorksheetFunction.Subtotal(9, Range("LJ4:LJ" & Rows(Rows.Count).End(xlUp).Row))
It gives me to sum just not using the subtotal function where when I filter it changes the total
Worksheets("SalesComparison").Range("DC2") = WorksheetFunction.Subtotal(9, Range("dc4:dc" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("Dd2") = WorksheetFunction.Subtotal(9, Range("dd4:dd" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("Li2") = WorksheetFunction.Subtotal(9, Range("LI4:LI" & Rows(Rows.Count).End(xlUp).Row))
Worksheets("SalesComparison").Range("LJ2") = WorksheetFunction.Subtotal(9, Range("LJ4:LJ" & Rows(Rows.Count).End(xlUp).Row))
It gives me to sum just not using the subtotal function where when I filter it changes the total