ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to locate the Row and Column of an Active Cell (https://www.excelbanter.com/excel-discussion-misc-queries/59206-how-locate-row-column-active-cell.html)

Fred

How to locate the Row and Column of an Active Cell
 
Hello,
Does anybody know how to display the Row and Column of an Active Cell and
display it in another cell.

Regards,

Ron de Bruin

How to locate the Row and Column of an Active Cell
 
Hi Fred

Copy this event in the sheet module

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1").Value = Cells(Target.Row, Target.Column).Address(False, False)
End Sub

In A1 you see the address now

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Fred" wrote in message ...
Hello,
Does anybody know how to display the Row and Column of an Active Cell and
display it in another cell.

Regards,





All times are GMT +1. The time now is 08:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com