+ Reply to Thread
Results 1 to 4 of 4

multiple returns from find function

  1. #1
    Registered User
    Join Date
    09-08-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 SP3
    Posts
    45

    multiple returns from find function

    Hi there,

    I have a find function I am using with the below macro. It pastes the result into the specified cell but I am wondering...if the search query has more than one result then how do I do this and then paste it into the destination cell?

    I have pasted the code below which finds the first value it finds and pastes it into my destination cell.

    Please Login or Register  to view this content.
    I have also pasted the swap string function I am using just for reference:

    Please Login or Register  to view this content.
    I hoped there was an easy way to do this but I couldn't find one. If anyone knows then that would really help.

    Thanks,
    Jag

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: multiple returns from find function

    What do you want to do with the additional find results? (i.e. where do you want to put them?)
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    09-08-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 SP3
    Posts
    45

    Re: multiple returns from find function

    Hey there, I am looking to add them to the destination cell. So basically concatenate the value with the new value if another is found, example would be:

    Please Login or Register  to view this content.
    Jag

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: multiple returns from find function

    Something like this then, I think:
    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)

Tags for this Thread

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