Get selection address : Selection « Excel « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Excel
- Selection
Get selection address
Sub GetSelectionAddress()
ActiveSheet.Names.Add Name:="MyRange2", RefersTo:="=" & Selection.Address()
End Sub
Related examples in the same category