+ Reply to Thread
Results 1 to 4 of 4

Compare

  1. #1
    Registered User
    Join Date
    10-03-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Compare

    Hi,
    I am looking for an idea to solve my problem " Microsoft Visual Basic for Application 400". Image attached
    I would be thankful for your tips.

    Thank you
    Sanjay

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Compare

    Hi,

    Please review our https://www.excelforum.com/forum-rul...rum-rules.html
    Start with the first one ! (then edit your post above and Select Advanced to change the title).

    Then if you plan to attach something (ant it's often wise to do so), follow the suggestion below:

    Will you please attach a SMALL sample Excel workbook(s) (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. (If trere are typical cases like: all unique values/duplicates could occur, day/night, nobody present/several persons at once, before/on/past due, etc. - please show them all or at least indicate in text) The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution(s) is/are also shown (mock up the results manually).

    3. Make sure that all confidential/restricted information (either personal or business) like real e-mails, social security numbers, bank accounts, etc. is removed first!!

    To attach an Excel file you have to do the following: Just before posting, scroll down and press Go Advanced button and then scroll down and press Manage Attachments link. Now follow the instructions at the top of that pop-up screen.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    10-03-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Error

    Hi,
    I am getting the error when i run my third macro option in the attached excel file.

    Thank you
    Sanjay
    Attached Files Attached Files

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Compare

    You were geting this error from error handler part of the code. The main reason was because somebody (you?) pasted the code not in standard module, but in code of thisworkbook object.

    I moved it.

    Moving it to proper place cure just this one problem, because code stops now at searching sheet names 07, 08 in first rows of these sheets. But to deal with it understanding idea behind a code (the task and the approach) is needed.

    And I kindly remind you about:

    https://www.excelforum.com/forum-rul...rum-rules.html
    Start with the first one ! (then edit your post above and Select Advanced to change the title).
    You probably shall ask for it somebody from forum administration, because 2 days passed since thread was published.

    Use link "Report post" below your post. Do not expect my activity in this thread before title is corrected.
    Attached Files Attached Files
    Last edited by Kaper; 10-05-2018 at 02:47 AM.

+ 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. Replies: 2
    Last Post: 11-27-2016, 05:56 PM
  2. IF function compare rules (character encoding for compare)
    By Dmitry B in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2015, 11:49 AM
  3. BOM Compare - compare between tow versions of data
    By dispro14 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-29-2014, 02:45 PM
  4. [SOLVED] Need to compare multiple values including TIME between, and compare rate
    By fourmurphys in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-21-2014, 04:37 PM
  5. [SOLVED] Compare two names list and compare other column aftrerwards
    By badboynads in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2013, 12:46 PM
  6. [SOLVED] How do I compare cells and if FALSE compare to next cell in EXCEL
    By Cindie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-24-2006, 01:35 PM
  7. String compare doesn't compare?
    By Ken Soenen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2006, 11:45 AM

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