ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Row number and Column number (https://www.excelbanter.com/excel-programming/434702-row-number-column-number.html)

Philosophaie

Row number and Column number
 
I would like to know how to display the row number and column number of the
currently highlighted cell.

Patrick Molloy[_2_]

Row number and Column number
 
you could use the row() and column() function.
so maybe use the selection change event to show this is?

right click the sheet tab and select View Code from the popup and paste in
this code ...

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.StatusBar = Target.Address
MsgBox Target.Address, , "you selected..."
End Sub

delete the ksgbox line when it gets too irritating ;)






"Philosophaie" wrote:

I would like to know how to display the row number and column number of the
currently highlighted cell.


Gord Dibben

Row number and Column number
 
Look at NameBox when selecting a cell.


Gord Dibben MS Excel MVP

On Thu, 8 Oct 2009 02:20:01 -0700, Philosophaie
wrote:

I would like to know how to display the row number and column number of the
currently highlighted cell.




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

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