+ Reply to Thread
Results 1 to 3 of 3

assign macro to multiple activex controls

  1. #1
    Registered User
    Join Date
    01-27-2014
    Location
    Fresno, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    assign macro to multiple activex controls

    I have multiple check and combo boxes on a worksheet. Whenever these activeX controls are altered in any way (checked/unchecked or a different item in a list selected), I would like a range of cells to be deleted. Is there any other more elegant way to do this than to assign this macro to each activeX control one by one?

    Thanks for any help.

    Regards,

  2. #2
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Re: assign macro to multiple activex controls

    For every checkboxes, u need to write a separate code to perform the operation.
    Rather i could suggest using shapes (say Rectangle) and generalise your macro once and keep assigning it all shapes..

  3. #3
    Registered User
    Join Date
    01-27-2014
    Location
    Fresno, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: assign macro to multiple activex controls

    OK, thanks for the information.

+ 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. Copying ActiveX controls and their associate code across to multiple worksheets
    By MathUKTeacher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2014, 08:35 AM
  2. Macro assign to ActiveX Combobox
    By kangsongwu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-19-2014, 02:56 AM
  3. [SOLVED] Conditional Formatting for Multiple ActiveX Controls
    By katkth7533 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2014, 10:36 AM
  4. ActiveX controls disappearing while running a macro
    By darry in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-20-2013, 06:41 AM
  5. [SOLVED] assign macro to activeX combo box
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2012, 11:19 AM
  6. Assign 1 Macro to Run Multiple Checkbox Controls
    By Jay59 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-17-2007, 12:37 AM
  7. ActiveX Controls vs Form Controls
    By Alex in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 04:50 AM

Tags for this Thread

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