ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula to return cell position (https://www.excelbanter.com/excel-worksheet-functions/69932-formula-return-cell-position.html)

AJPendragon

Formula to return cell position
 
I want cell A1 to return the cell position I am currently in?

Thanks


Andrew

Gary''s Student

Formula to return cell position
 
Enter this tiny UDF:


Function whereami() As String
whereami = Selection.Address
End Function

In A1 enter =whereami()
Click on any cell
Touch CNTRL-ALT-F9 and A1 will tell you where are.


(kind of works like GPS)
--
Gary''s Student


"AJPendragon" wrote:

I want cell A1 to return the cell position I am currently in?

Thanks


Andrew



All times are GMT +1. The time now is 03:38 AM.

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