SCENARIO: I want to [gs loop] through all selected cells and perform an operation on each of them.
SOLUTION:
Sub DoOnSelection() Dim oCell As Range For Each oCell In Selection oCell.Font.Bold = True Next End Sub
You'll have to select the range on [gs worksheet] before, so select this [gs macro] DoOnSelection to trigger the actions specified by code on the selected range.
SOURCE | LINK (Contextures.com) | LANGUAGE | ENGLISH |