Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

how to get the address of the ceected cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yosi_lb - 27 Jan 2007 11:30 GMT
Hi Everybody

How can I get the address of a cell whenever I click on it

thanks
MartinW - 27 Jan 2007 12:01 GMT
Hi yosi,

Look at the top left of your screen, to the left of the formula bar.
It's called the name box.

HTH
Martin
CLR - 27 Jan 2007 15:40 GMT
Here's how in code............

Sub SelectedCellAddress()
MsgBox ActiveCell.address
End Sub

Vaya con Dios,
Chuck, CABGx3

> Hi Everybody
>
> How can I get the address of a cell whenever I click on it
>
> thanks
Bob Phillips - 27 Jan 2007 16:38 GMT
'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
   MsgBox Target.Address
End Sub

Signature

HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Hi Everybody
>
> How can I get the address of a cell whenever I click on it
>
> thanks
Zack Barresse - 27 Jan 2007 19:29 GMT
More importantly, what do you want to do with it?

Regards,
Zack Barresse, aka firefytr

> Hi Everybody
>
> How can I get the address of a cell whenever I click on it
>
> thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.