R
Rick
This must be a simple thing to do. User select
(highlights) a number of areas in a spreadsheet (holds
down Ctrl to select multiple areas). Then paste a value
into these areas, Say "AA".
Using Help I found out how to select all the individual
areas using -
Sub Select_Areas()
Set rangeToUse = Selection
For Each singleArea In rangeToUse.Areas
singleArea.Select
Next
End Sub
However, I cannot figure out how to paste a value into
each selected area as it goes through the "For" loop?
Any help would be greatly appreciated.
Thanks
Rick
(highlights) a number of areas in a spreadsheet (holds
down Ctrl to select multiple areas). Then paste a value
into these areas, Say "AA".
Using Help I found out how to select all the individual
areas using -
Sub Select_Areas()
Set rangeToUse = Selection
For Each singleArea In rangeToUse.Areas
singleArea.Select
Next
End Sub
However, I cannot figure out how to paste a value into
each selected area as it goes through the "For" loop?
Any help would be greatly appreciated.
Thanks
Rick