With VBA and Excel, how can I loop through the properties of a given cell and determine their values? I'm looking for something like
Unfortunately, this won't work. Any suggestions??
Code:
Dim MyProp as Property
Dim MyCell as Range
Set MyCell = "$A$1"
For each MyProp in MyCell.Properties
Debug.Print MyProp.Name & " " & MyProp.Value
Next