Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Cell Address

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am trying to return a cell address when I hover the mouse over the visual basic but instead return a compiler error when I try -
    activecell.address

    I am obviously do something wrong - please help

    [ This Message was edited by: Stuart_ss60 on 2002-03-05 04:32 ]

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Not sure what you mean, but Address when used with a range object is a read-only property and hence can only appear on the right-hand side of an equation. If you have just typed in ActiveCell.Address, the compiler will think you're trying to write to it and throw up an error. Try something like myAddress = ActiveCell.Address or MsgBox ActiveCell.Address instead.

    [ This Message was edited by: Mudface on 2002-03-05 04:43 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •