+ Reply to Thread
Results 1 to 2 of 2

variable equals cell value in other worksheet

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    Bakersfield, CA
    MS-Off Ver
    Excel 2003
    Posts
    37

    variable equals cell value in other worksheet

    I want to end a macro if the cell content in another worksheet's cell F5 = 2.
    Attached is the file.

    this appears to not be written correctly:
    Please Login or Register  to view this content.
    can someone tell me how to rewrite the line so that x is set = 2?

    full code
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by BHudPE; 06-07-2010 at 11:29 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: variable equals cell value in other worksheet

    This should be enough, assuming "LevelFind" is the correct sheet name.

    Please Login or Register  to view this content.

    Hope this helps.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

+ 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