Sub Format()
Dim LastRow As Long
Columns("A:E").Select
Range("A3").Activate
Columns("A:E").EntireColumn.AutoFit
Rows("7:7").Select
Selection.Delete Shift:=xlUp
Range("B16").Select
LastRow = Range("D9").End(xlDown).Row
Cells(LastRow + 1, "D").Formula = "=SUM(D9:D" & LastRow & ")"
End Sub
I am working on sheet that require reporting to individuals with different quantity of data tables with same structure. What if I need to repeat the code for all worksheets. I am follower of stackoverflow and learn so many things from this forum.
Thank You Keshav