Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to found the first occure

    i have this string:
    Index_PRIMA_RIGA = CUM_AG & "-" & CUM_SOSP & "-" & CUM_DATA
    is a joint of value filled from a3 variable in this case:

    CUM_AG=4503(find in column L)
    CUM_SOSP=250008150001(find column D)
    CUM_DATA=31/12/9999 (find in column J)

    how to found the first occurence only when the var of Index_PRIMA_RIGA have on the same line all variable joined...

    in this case the first occurence is in line 907 store in a new variable the number of line founded...typical NUMBER_VAR=907
    Hope i am clear

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: how to found the first occure

    See attached workbook
    Attached Files Attached Files

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: how to found the first occure

    WORK PERFECT!
    Tks.
    ahhhh nice code... it found in one shot, good!

Posting Permissions

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