Results 1 to 4 of 4

Compile Code error: Method or data member not found

Threaded View

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Compile Code error: Method or data member not found

    Hello everyone,

    What I am trying to do sounds simple but I don't know where I'm wrong in the code.
    The process I want is: A person enters a number and clicks a button in sheet1, excel will search for a matching number in sheet2. When the number is found the information relating to that number is inserted into sheet1.
    I hope that is kinda clear.
    I had watched a youtube video to help with the code but even though I used the same code it wouldn't work for me. I think this is because I am using Excel 2010 and the video possibly had a different version.
    I have attached my practice sheet which has the error.

    I have tried to change a few things but still haven't got it to work. It only seems to be this line it is stuck on
    If Sheets("New Material").Cells(x, 1) = Information.Range("B2") Then
    Help is very much appreciated.

    Test code.xlsm
    Last edited by Help_Required; 11-27-2014 at 06:05 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help Solving #REF error (INDIRECT function)
    By omni13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2014, 10:01 AM
  2. solving Equation N/A# Error
    By glaswal in forum Excel General
    Replies: 1
    Last Post: 06-28-2011, 10:46 AM
  3. Overflow Error - Solving Temperature using Antoine Equation
    By ggilzow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2011, 04:14 PM
  4. Help on solving an error..!!!
    By Hurundee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2008, 09:32 AM
  5. Problem solving div/0 error in a zero value cell
    By robert s in forum Excel General
    Replies: 5
    Last Post: 03-18-2006, 06:35 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