📅  最后修改于: 2022-03-11 14:51:54.497000             🧑  作者: Mango
'VBA function to retrieve the full address of a range:
Function FullAddress(r As Range)
With r
FullAddress = "'" & .Parent.Name & "'!" & .Address
End With
End Function
'--------------------------------------------------------------------
MsgBox FullAddress 'Displays: 'My Sheet'!$A$1:$Z$99