+ Reply to Thread
Results 1 to 2 of 2

Add a default code to a button

  1. #1
    Registered User
    Join Date
    11-17-2015
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    1

    Question Add a default code to a button

    Hi all,

    I'm currently creating a smart checklist using excel VBA. Until now everything works fine, but I have to roproduce the same code every time for each checkbox. The company i'm creating the checklist for also wants to adjust the checklist or even create a new checklist, but they don't want the trouble writing code.

    I managed to make the code as general as possible (relative cell selections etc.), but in fact i'm looking for an option to make a new (ActiveX) button that has its own 'default' code. Once I add this button the code must already there.

    Thanks

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

    Re: Add a default code to a button

    Please post the code you already have, or even better upload a sample workbook

+ 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. Userforms : Default button
    By Franck Knight in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-17-2019, 04:19 AM
  2. [SOLVED] Coding for Default Value Button
    By Clue_Less in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2012, 02:50 PM
  3. Radio Button default Selection
    By gsandy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-12-2009, 09:16 PM
  4. Print Button to Set Default Printer
    By vigil87420 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-08-2009, 06:29 PM
  5. Default Option Button Values
    By maxwell13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2008, 06:03 PM
  6. CmdButton - How to make button it the default button?
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2006, 02:05 PM
  7. Add Button Image to Default Images?
    By Kou Vang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2006, 03:55 PM
  8. Option Button as default
    By StephanieH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2005, 10:06 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