+ Reply to Thread
Results 1 to 5 of 5

exact match and offset more than once?

  1. #1
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    exact match and offset more than once?

    Hi all

    I have one condition which needs to be matched. This code I wrote can find the first instance and then offset data to another worksheet accordingly.

    My question is whether than can be done for every other instance that appears on my sourcesheet 'Invoicing'. I have considered putting a loop in, but this will only find the first instance over and over again which is pointless.

    Any input would be great!

    (BTW, i realise these are crazy offset values, but the invoice I am working with is organised in a grid - not my choosing!)

    Cheers

    Danny.

    Please Login or Register  to view this content.
    Last edited by l8sk8r; 02-17-2009 at 05:43 PM.
    /
    ----
    OOO

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: exact match and offset more than once?

    This might be done more efficiently using Find. Could you attach a small sample workbook, including desired results?

  3. #3
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    Re: exact match and offset more than once?

    Thanks for your reply. I've enclosed a sample workbook here.

    For every occurance of 'AG' it should offset the data from 'invoicing' on a new rows on 'AG's sheet (or even every 2 rows). The same should occur for any other person.

    D.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    Re: exact match and offset more than once?

    Thanks for the tip on find procedures. I adapted some code and ended up with a half find/half match. Works great now.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    Re: exact match and offset more than once?

    Just note to any forum searchers. This needed exact matching to work how I wanted. See the following amendedment to the code.

    Cheers

    D.

    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