+ Reply to Thread
Results 1 to 14 of 14

Cell Coordinates

  1. #1
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Cell Coordinates

    Please Login or Register  to view this content.


    Excel cell coordinates. Example in the above code for a UF I have placed a text box to show value of cell in Col 18 and Row 11. My question is: Is there a way to find that coordinated without physically counting each Row and Column?

    Thanks

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Cell Coordiniates

    cells(18,11) is row 18 column 11 which is K18, a fixed address.
    Where does the finding and counting come into it?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordiniates

    If you have column and row headings, you could use Application.WorksheetFunction.Match to get the column and row numbers. The headings would have to be unique as Match will return the first one it finds.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Cell Coordiniates

    ByteMarks, Sorry, you're correct. Had those settings backassward but still like to know is there is a code or something that if you click on any cell, it will let you know in this example something like this: R11,C18.

    Thanks

  5. #5
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Cell Coordiniates

    TMS, mighty warrior, could you show me a small example.

    Thanks

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    This:

    Please Login or Register  to view this content.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    For the address of the Active Cell:
    Please Login or Register  to view this content.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    You're welcome. Thanks for the rep.



    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    @ByteMarks: thanks for the +rep.

    The thread is still not marked solved and there has been no confirmation that the solution was what was being looked for. We can only assume that it was

  10. #10
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Cell Coordinates

    TMS - It's not solved, at least for me, but marking it Solved. Thanks for helping.

  11. #11
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    How can we help?


    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.

  12. #12
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Cell Coordinates

    TMS, I found it. I knew I had done it before but getting old and memory stick broken. Click on File Tab, go to Options, click on Formulas, and find “Working with formulas” and check this and any cell clicked on will give you the coordinates “R18C11” which is my example above. However, it only seems to work on the worksheet you are currently using.
    Last edited by jevicha2; 03-21-2024 at 04:46 PM.

  13. #13
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cell Coordinates

    Good. .

  14. #14
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Cell Coordinates

    Not sure if this helps, but you can get the activecell address in R1C1

    Further to post #7
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Generate random coordinates in an area given (i,j) coordinates with VBA
    By tugbina in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2023, 12:54 AM
  2. Formula to return contents of a cell using file path and cell coordinates
    By gaker10 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 03-18-2015, 09:22 AM
  3. Replies: 1
    Last Post: 08-28-2012, 02:36 AM
  4. cell coordinates
    By yak10 in forum Excel General
    Replies: 1
    Last Post: 08-19-2009, 12:10 PM
  5. Any way to capture x,y coordinates of a given cell?
    By clownfish in forum Excel General
    Replies: 3
    Last Post: 02-08-2009, 10:09 PM
  6. Convert point coordinates -> pixel coordinates
    By Zorro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2006, 10:30 PM
  7. UDF cell coordinates
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2005, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1