+ Reply to Thread
Results 1 to 4 of 4

Macro not working properly for matching between sheet

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    zurich
    MS-Off Ver
    Excel 2010
    Posts
    99

    Macro not working properly for matching between sheet

    Hi All,

    I have two sheets Master and company_list available in below path

    Master=''C:\temp"
    Company_list="C:\QC\Responsibility"

    I want to insert one column named as "Processing site" and populate data when User_fullname column from 'Master' workbook is matching with "name" column for sheet 'user' from other workbook 'Company_list'. I got the solution from this forum.

    Now I have same type of requirement for other worksheet.

    I want to insert one column named as "Priority" and populate data when ENAME column from 'Master' workbook is matching with "check" column for sheet 'processing' from other workbook 'Company_list'. I used the below macro but it is not working for few rows and its very slow.

    Can you please help me.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro not working properly for matching between sheet

    Please Login or Register  to view this content.
    In your example file company_list.xlsx, there is no sheet with the tab name processing. It has a sheet named Sheet1.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    zurich
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Macro not working properly for matching between sheet

    My apology Alpha. I forgot to attach the correct sheet.

    Request to check once

    Thanks in advance
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro not working properly for matching between sheet

    Quote Originally Posted by abraham30 View Post

    I want to insert one column named as "Priority" and populate data when ENAME column from 'Master' workbook is matching with "check" column for sheet 'processing' from other workbook 'Company_list'. I used the below macro but it is not working for few rows and its very slow.
    The only rows it doesn't work for are the rows where the ENAME is blank. I don't appreciate what the problem is.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro not working properly as add-in
    By TZ Saic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2015, 07:54 AM
  2. macro not working properly
    By cooner3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2014, 10:16 AM
  3. Macro isn't working properly.
    By EAgerton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2014, 01:14 AM
  4. Sheet Selection VBA Code is not working properly
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-10-2014, 12:39 PM
  5. Macro Not Working Properly
    By fasrose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:49 PM
  6. Command button not working properly on different sheet
    By Strikez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2007, 12:36 AM
  7. [SOLVED] Macro Not Working Properly
    By PA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2006, 11:40 PM

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