Results 1 to 2 of 2

Thread: Excel 2000 programming problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    12

    Excel 2000 programming problem

    hi!

    how can i verify the number of a row in which an item is placed.

    for example i have a worksheet with 1000 rows and the 74th item is "Hello".

    now i want to save the row-number 74 to an array.

    is there a "GetRow" command or something like that?

    and how is it executed right?


    please help me!


    thx, alex

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Luton, UK
    Posts
    178
    This formula will find the row number (NB. counts first reference as 1)
    =MATCH("Hello",A1:A5000,0)

    If you are using VBA then use something like :-
    Set c = Find(....
    MyRow = c.row
    Regards
    BrianB
    -------------------------------

Posting Permissions

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



Click Here to Expand Forum to Full Width