|
|
Working with active cell: The
ActiveCell property
in Microsoft Excel returns a Range object that represents the cell that
is active. You can apply any of the properties or methods of a Range
object to the active cell, as in the following macro.
Sub SetActive()
Worksheets("Sheet1").Activate
Worksheets("Sheet1").Range("A2").Activate
ActiveCell.Font.Bold = True
ActiveCell.Font.Size = 12
ActiveCell.Value = 123
End Sub
The training
video demonstrates the concept clearly.
|