cell.address gives strange result

Joined
May 9, 2018
Messages
2
Reaction score
0
I have a problem with the Cells.Address function in Excel VBA:
On one computer the call Cells(2, 2).Address returns "$B$2:$B$2" i stead of "$B$2" (as the documentation states).

Why - and how can I get this back to normal ?
 
Joined
May 9, 2018
Messages
2
Reaction score
0
Even stranger: This is dependent on which worksheet I am in!
Only some worksheets gives wrong result.
 
Top