1 out of 3 rated this helpful - Rate this topic

SpecialCells Method

Office XP

Returns a Range object that represents all the cells that match the specified type and value. Range object.

expression.SpecialCells(Type, Value)

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example selects the last cell in the used range of Sheet1.

Worksheets("Sheet1").Activate
ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Activate
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.