+ Reply to Thread
Results 1 to 2 of 2

Private Sub - Change Event

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Cedar Falls, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    50

    Private Sub - Change Event

    I have created a macro that gets information from a userform and creates a new ActiveX slider on the worksheet. The last step I would want it to do is add the Private Sub required for when the slider is moved. Is it possible to have my routine that adds the slider to create the Private Sub?

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Private Sub - Change Event

    Generally it's not a good idea to use ActiveX controls on worksheets.

    Why not just use a forms control slider on the worksheet? That way you can assign a macro to its .action property

+ 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] Private Sub Workbook_Open Event Problem
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-30-2015, 01:30 PM
  2. [SOLVED] Private sub worksheet change, run when two seperate cells change
    By jtd84 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-11-2012, 06:47 PM
  3. How to prevent SelectionChange event firing before Change event?
    By franklyn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2012, 05:17 AM
  4. [SOLVED] Cannot paste to another worksheet in private sub change event
    By LouiseH24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-10-2012, 06:58 AM
  5. Worksheet Change event ignore change event
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2011, 12:29 PM
  6. [SOLVED] Private Sub Workbook_Open() event won't fire if workbook is hidden?
    By Mike Weaver in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2006, 09:40 AM
  7. [SOLVED] Worksheet Change Event-change event to trigger
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-18-2005, 06: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