+ Reply to Thread
Results 1 to 5 of 5

linking a common unique value across multiple worksheets

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25

    linking a common unique value across multiple worksheets

    Excel 2003 -
    Hi all. I have a rather complex operation required and I'm wondering the best way to go about it. (Macros or existing functions)

    Background.
    We have lots of systems which hold contact detials (telephone system, LDAP, Peoplesoft etc) unfortunately they do not syncronise or they do but there are inconsistancies in the records.

    All records have a common unique value which is the persons LDAP uid (username - textfield).

    What I am doing is pulling all the data into a spreadsheet, a worksheet per system, and am looking for a way to link the records across the sheets to be able to compare the records.

    Initially my first thought was to ensure that a uid is on the same row consistantly across the workbook by using some kind of a loop. Something like below (which doesn't work!)
    Please Login or Register  to view this content.
    Can anyone throw any ideas of how to go about this at me?
    If you need anything clarified, I'd be happy to explain further.
    Last edited by dopple; 11-14-2008 at 10:17 AM. Reason: Problem cropped up

  2. #2
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25
    Umm, scrap that. My loop worked fine. I was trying to run it on sheet2. Will have activate sheet 1 1st.
    Thanks anyway.
    Dopple

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25
    Hi all. My loop posted above works fine but the only problem is that because of the line
    Please Login or Register  to view this content.
    and the loop is only looping for the number of records in the sheet at the START of the loop, as soon as it get's to that row, the loops stops. Because I'm inserting rows, by the time the loops finished, it's only half way through.
    How would I change this into a while loop?

    Current code below
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25
    It's fine, I just made
    Please Login or Register  to view this content.
    into
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25
    Nope ran into the same problem again.
    It's got to the end of the loop without having iterated enough to complete the sheet. Looks like it will have to be a do while loop. Can anyone help?
    Graham

+ 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