Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

VBA-Excel: Select and Activate Cells — Activate

Here is some­thing inter­est­ing for you, you can use a Acti­vate method to acti­vate a cell within a selection.

Acti­vat­ing a Cell Within a Selection

Sub ActivateCellInSelection()

   Worksheets("Sheet4").Select

   Worksheets("Sheet4").Range("A1:H6").Select

   Worksheets("Sheet4").Range("D3").Activate

End Sub


Run this pro­ce­dure and you will the selec­tion in Sheet4 from A1 to H6 with D3 cell activated.

Activate Cell in selection -1

Acti­vate Cell in selection

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: