+ Reply to Thread
Results 1 to 3 of 3

VBA code works but isn't performing

  1. #1
    Registered User
    Join Date
    07-14-2016
    Location
    Norman, Oklahoma
    MS-Off Ver
    2013
    Posts
    1

    VBA code works but isn't performing

    So i'm trying to take a value from Column A in Sheet 1 and search to see if it matches Column A in Sheet 2. If the value doesn't find a match then I want to change the cell color to orange. Where am I messing up in my code?
    Please Login or Register  to view this content.
    Last edited by shmowell; 07-14-2016 at 04:10 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA code works but isn't performing

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    If posting code please use code tags, see here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: VBA code works but isn't performing

    Try:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. VBA Code to Check if File is open before performing the task
    By Archrael0327 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2016, 04:51 AM
  2. how can i make this code works for multiple links it only works for one link
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2014, 08:38 AM
  3. Checkbox VB code isnt performing properly
    By mshaneweaver in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2014, 03:38 PM
  4. [SOLVED] Performing Case-sensitive Lookup, please explain how this code works
    By Dwexdwex in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2013, 09:30 AM
  5. No error but no result returned while performing a VBA Sorting Code
    By seigna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 02:56 AM
  6. VBA code works on PC but not on Mac.
    By anushatamby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2013, 08:50 PM
  7. performing sum function using code
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2011, 03:37 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