Hi - How would I make the below code loop through multiple worksheets in a workbook. The number worksheets varies every time
Option Explicit
Sub DeleteBlanks()
Dim intCol As Integer
intCol = 8
Range(Cells(15, intCol), Cells(40, intCol)). _
SpecialCells(xlCellTypeBlanks).Delete Shift:=xlUp
End Sub
Thanks!
Option Explicit
Sub DeleteBlanks()
Dim intCol As Integer
intCol = 8
Range(Cells(15, intCol), Cells(40, intCol)). _
SpecialCells(xlCellTypeBlanks).Delete Shift:=xlUp
End Sub
Thanks!