+ Reply to Thread
Results 1 to 4 of 4

Modify Excel 2010 Quick Access Toolbar Macro Icon using VBA

Hybrid View

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Armpit, FL
    MS-Off Ver
    Excel 2010
    Posts
    11

    Modify Excel 2010 Quick Access Toolbar Macro Icon using VBA

    Is it possible to modify a QAT macro icon using VBA code? I want to add a button that is Blue when Auto Calc is on and Red when it's off. I'd like to put the code in my personal macro wkbk so it's available in all worksheets/books.

    If not possible in QAT, perhaps in the custom ribbon buttons?

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Modify Excel 2010 Quick Access Toolbar Macro Icon using VBA

    not in the qat but you can use a getImage callback with a ribbon button to switch between images by invalidating the control. have you used custom ribbon controls before?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Armpit, FL
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Modify Excel 2010 Quick Access Toolbar Macro Icon using VBA

    I have to some extent. I created a custom ribbon with buttons I use regularly so I don't have to keep going through the other tabs. I have yet to successfully assign a custom button to the ribbon that calls a macro from my personal macro wkst. Would love to go that way if you could help.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Modify Excel 2010 Quick Access Toolbar Macro Icon using VBA

    did you do it using xml or just through the 'customize ribbon' menu? you'll need xml for this task-look at the last examples here: http://www.rondebruin.nl/win/s2/win009.htm

+ 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. Email icon in spreadsheet as per email icon in Quick Access Toolbar
    By Mike_100 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-23-2014, 01:53 AM
  2. How to change help text associated with a macro button on Quick Access Toolbar?
    By XmisterIS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2014, 06:49 AM
  3. Why is my Excel 2013 Quick Access Toolbar so short?
    By gopher_everett in forum Excel General
    Replies: 0
    Last Post: 07-16-2013, 11:58 PM
  4. VB error trying to add to Quick Access toolbar in Excel 2007
    By 13sydwest in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-03-2013, 06:45 AM
  5. Replies: 1
    Last Post: 10-12-2011, 03:56 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