+ Reply to Thread
Results 1 to 3 of 3

Not recognising two values are the same

  1. #1
    Registered User
    Join Date
    09-27-2007
    Posts
    10

    Not recognising two values are the same

    Good Morning

    I have two sheets in the same workbook each with a list of employee numbers. I am trying to get the code to look down a column on the first sheet and copy a subsequent value across.

    The code I have (succesfully) used in the past with similar projects goes along the lines of:

    Please Login or Register  to view this content.
    However, this time it is not working at all. The values from sheet 1 are in the summary sheet but it is not picking them up at all.

    However, if I go in to Sheet 1 and overtype the values with exactly the same value it picks it up and works how it should.

    Both sheets are formatted the same and both are "general" category.

    Please can somebody save my insanity??
    Last edited by Big Mark; 01-17-2008 at 07:55 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Can you paste a copy or a sample copy of your workbook

    This will help us to see why the data is not being traeted as being the same.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    09-27-2007
    Posts
    10

    Smile

    Thanks mudraker but I have managed to work it out for myself.

    One of the columns had a rogue space at the end of the number so the 8 digit number had become a 9 character number so it wasn't recognising it as the same.

    Grrrrrrr! I have just done a simple find and replace though and it is now working properley.

    Thanks for the offer though.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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