![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 1
|
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 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
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 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|