cell.address gives strange result

Discussion in 'Excel' started by Einar, May 9, 2018.

  1. Einar

    Einar

    Joined:
    May 9, 2018
    Messages:
    2
    Likes Received:
    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 ?
     
    Einar, May 9, 2018
    #1
    1. Advertisements

  2. Einar

    Einar

    Joined:
    May 9, 2018
    Messages:
    2
    Likes Received:
    0
    Even stranger: This is dependent on which worksheet I am in!
    Only some worksheets gives wrong result.
     
    Einar, May 9, 2018
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.