+ Reply to Thread
Results 1 to 3 of 3

Copy ActiveX ComboBox from One Sheet to Another and Then Have it Execute Code

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    Berlin, PA, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy ActiveX ComboBox from One Sheet to Another and Then Have it Execute Code

    I have a sheet (Sheet1) with 20 combo boxes on it. I want to copy these combo boxes to a new sheet that is created using a command button in the same location. I have successfully made the new sheet with new command buttons that will run code when clicked. I want to do the same with the combo boxes, but just copying them instead then having them run already existing code. I'm not sure if this can be done with ActiveX Controls, but I would like to try. Here is my code:

    Please Login or Register  to view this content.
    Last edited by Fotis1991; 09-13-2013 at 02:42 AM. Reason: added code tags

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Copy ActiveX ComboBox from One Sheet to Another and Then Have it Execute Code

    Welcome to the forum.

    Pls

    Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    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


    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Berlin, PA, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy ActiveX ComboBox from One Sheet to Another and Then Have it Execute Code

    Sorry about that and thank you for helping me. I will try to clear up the question. I was able to copy the ComboBox. Now, I want it to run a sub or function so it will be populated. The code:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

+ 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. Replies: 5
    Last Post: 08-24-2013, 09:45 PM
  2. Excel 2007 ActiveX Combobox - LinkedCell automatically change w/ copy/paste
    By jdgonzal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 05:46 PM
  3. Code to change LinkedCell of ActiveX ComboBox
    By ozhunter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2011, 07:10 AM
  4. Copy and Paste to Worksheet using Combobox (ActiveX)
    By okriskao in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-23-2009, 09:23 AM
  5. [SOLVED] ActiveX ComboBox Control on Sheet
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2005, 03:06 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