Closed Thread
Results 1 to 5 of 5

Conflicting 2 vba codes

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Conflicting 2 vba codes

    Hi
    Iif removed the #1 code vba then #2 code vba works.
    #2 code is C8 box to have an X (marlett font)

    CODE #1

    Please Login or Register  to view this content.

    CODE #2
    Please Login or Register  to view this content.
    I really need to keep code #2. See file attached.
    Thank you.
    Attached Files Attached Files
    Last edited by RJ1969; 04-12-2019 at 01:31 PM. Reason: code wrong

  2. #2
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conflicting 2 vba codes

    I think its conflicting between the 2 codes.

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

    Re: Conflicting 2 vba codes

    Your SelectionChange event is changing cell values, which is triggering the other code. You need to add
    Please Login or Register  to view this content.
    to the second code
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conflicting 2 vba codes

    Hi
    I added but it did not work. Can you try with the attachment.
    When I click C8 it should have an "X" font martett with "r"

    Thanks.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Conflicting 2 vba codes

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. I am, therefore, closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...-windings.html

    Arguably you have three threads going on this - please continue only in the one to which I have linked.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Two Codes Conflicting
    By waqarqrl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2013, 05:54 AM
  2. [SOLVED] Conflicting answers with formula
    By ukphoenix in forum Excel General
    Replies: 2
    Last Post: 03-28-2012, 08:25 AM
  3. 2 Macros conflicting with each other
    By brianf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2010, 04:14 AM
  4. conflicting codes for change event
    By dado6612 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-08-2010, 01:26 AM
  5. Conflicting tables in the same row
    By DarXide in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-16-2009, 12:30 PM
  6. Conflicting Events Problem
    By scottintexas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2008, 08:30 AM
  7. Conflicting VBA codes
    By SSA_111 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2006, 05:25 PM
  8. Conflicting date ranges
    By Darknexxus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 11: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