+ Reply to Thread
Results 1 to 4 of 4

Please help: why my code doesn't work?

  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    Sacramento
    MS-Off Ver
    Excel 2010
    Posts
    2

    Please help: why my code doesn't work?

    Hi, I have the code as shown below, and the first half works just fine. However, the second half just doesn't work as no Macro can be called after I change value at cell c4. Anyone knows why and can you let me know how to correct the code please? Thank you so much!!!

    Please Login or Register  to view this content.
    Last edited by alansidman; 03-30-2017 at 11:32 PM.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Please help: why my code doesn't work?

    Equals is a case sensitive test. Try testing against "$C$4"
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    03-01-2013
    Location
    Sacramento
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Please help: why my code doesn't work?

    You, Mike, are my life saver!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Please help: why my code doesn't work?

    Code Tags Added
    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 at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Testing single code, work fine. Put multiple codes in one sheet, one code doesn't work.
    By MayDay1988 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2017, 06:14 PM
  2. Why doesn't this FIND Code work?
    By CaptMac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2017, 08:57 AM
  3. [SOLVED] Need help with VBA code. Tons of code seperated in two, second part of code doesn't work.
    By FragaGeddon in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 11-30-2015, 11:46 AM
  4. code doesn't work when i change.
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2015, 03:11 PM
  5. code from Excel Help doesn't work
    By ryan darrow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2011, 01:17 PM
  6. [SOLVED] Why doesn't ths VBA Code work?
    By Mac Lingo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2005, 10:10 PM
  7. vba code doesn't work
    By lschuh in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-22-2005, 02:05 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