| Constant | Description |
| xlCellTypeNotes | Cells containing notes |
| xlCellTypeConstants | Cells containing constants |
| xlCellTypeFormulas | Cells containing formulas |
| xlCellTypeBlanks | Empty cells |
| xlCellTypeLastCell | The last cell in the used range |
| xlCellTypeVisible | All visible cells |
Worksheets("Sheet1").Activate
ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Activate