+ Reply to Thread
Results 1 to 5 of 5

Combine two pieces of code together

  1. #1
    Registered User
    Join Date
    05-27-2015
    Location
    Milwaukee, WI
    MS-Off Ver
    MS Office 2010
    Posts
    6

    Combine two pieces of code together

    I found some code to help with the text being too small to read in the drop down list. It is a double click to open a combo box. I have now created code to open a comments box when a certain condition is not reached. When I try to combine the two codes my comments box code doesn’t work.
    How can I combine the two codes to make them both work and most importantly, why is breaking?
    Below is the code combined.
    Note*** if I do not activate the combo box the other code works and the comment box code works like it is supposed to.
    Please Login or Register  to view this content.
    Thank you,
    Ted
    Last edited by ttontis; 06-29-2015 at 12:57 PM. Reason: Becuse I didnt read the forum rules

  2. #2
    Registered User
    Join Date
    05-27-2015
    Location
    Milwaukee, WI
    MS-Off Ver
    MS Office 2010
    Posts
    6

    Re: Combine two pieces of code together

    I just noticed that if I do not actavate the combo box the other code works and the comment box is actaved like it is supposed to. So I guess the new question is how do I get my comments box code to work with my combo box code?

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,792

    Re: Combine two pieces of code together

    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)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    05-27-2015
    Location
    Milwaukee, WI
    MS-Off Ver
    MS Office 2010
    Posts
    6

    Re: Combine two pieces of code together

    Please Login or Register  to view this content.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,792

    Re: Combine two pieces of code together

    Please edit your first post to add code tags, instead of adding a new post.

+ 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. [SOLVED] How to combine two pieces of code and make them efficient
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2015, 02:01 PM
  2. Please explain the pieces of this code
    By freshfruit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2014, 09:22 PM
  3. [SOLVED] Please explain the pieces of this code
    By freshfruit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2014, 06:00 PM
  4. [SOLVED] Combine three pieces of information into one cell.
    By gherzberg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2012, 12:55 PM
  5. Integrate two pieces of code
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-24-2009, 09:47 AM

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