Closed Thread
Results 1 to 2 of 2

How to locate the cell y position according to the name of the first row instead of "A-Z"?

  1. #1
    Forum Contributor
    Join Date
    08-01-2016
    Location
    China, beijing
    MS-Off Ver
    2016
    Posts
    114

    How to locate the cell y position according to the name of the first row instead of "A-Z"?

    I want to locate a cell. We can use cells(1, "i"). "I" column means the "type" which is the head(first cell content) of the column. Is there a way to use the name "type" instead of "I"? For the reason that the column of I may change, For example after some modification the I column may change to save the name of the company not type.I want the vba script to be more flexible. Can it be made?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: How to locate the cell y position according to the name of the first row instead of "A

    Duplicate thread closed and other posts moved here: https://www.excelforum.com/excel-pro...ad-of-a-z.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to locate the cell y position according to the name of the first row instead of "A-Z"?
    By woshichuanqilz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-18-2017, 02:36 AM
  2. Replies: 6
    Last Post: 04-12-2016, 05:46 AM
  3. [SOLVED] Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-30-2015, 04:52 AM
  4. [SOLVED] Formula to Locate Matching Data in Worksheets and return Yes or "" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-23-2015, 06:12 AM
  5. VBA: How to locate the last "CELL" of a specific "COLUMN"
    By RonGreen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2013, 04:54 PM
  6. [SOLVED] search for a "part number" within a string and return its cell position or contents of cel
    By benakil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-24-2013, 06:37 AM
  7. Using the "find" method to locate a cell with a particular value
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2009, 06:16 PM

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