BunnyTracks
New Member
- Joined
- Aug 30, 2011
- Messages
- 16
I am using the code line below to select all cells that are blank in column "L", and fill them in based on the preceding cell. what code can i insert to handle the situation when no blank cells are found in column "L". In that case i would want to code to skip that section.
Columns("L:L").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.FormulaR1C1 = "=R[-1]C"
Columns("L:L").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.FormulaR1C1 = "=R[-1]C"