+ Reply to Thread
Results 1 to 2 of 2

Macros do not work when transferred to QAT

  1. #1
    Registered User
    Join Date
    04-04-2018
    Location
    Glasgow, Scotland
    MS-Off Ver
    MS 365
    Posts
    34

    Macros do not work when transferred to QAT

    I have a workbook containing about a dozen macros. Originally these were called by clicking buttons on a worksheet and everything worked as expected. I decided to call the macros from the QAT, so that the buttons were always visible no matter where the user was in the workbook. However, Excel seems to lose its mind - I have no idea what code is executed when the button in the QAT is clicked, but it isn't the associated macro. Excel blunders off and starts loading other workbooks. By putting a break on the first line of the macro, I can confirm that it is not called by clicking its icon in the QAT. If I invoke the macro with 'Macro/Run' on the Developer tab, it performs as expected. Is this a known problem with Excel? I suspect it may be related to ribbon customisations not being saved with the workbook.

  2. #2
    Registered User
    Join Date
    04-04-2018
    Location
    Glasgow, Scotland
    MS-Off Ver
    MS 365
    Posts
    34

    Re: Macros do not work when transferred to QAT

    Just in case anyone else gets this problem, it does seem to be associated with the way Excel saves QAT customisations - the customisation contains a reference to the workbook where it was created, and cannot be imported to another workbook (as MS documentation suggests). Safest practice: don't use QAT customisations for a workbook that you will need to distribute to other users.

+ 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] Transferred data overwriting previous transferred data
    By ebanducci in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2019, 04:52 PM
  2. Macros do not work on a PC but do on other ones
    By Bazouges in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-18-2018, 02:04 PM
  3. Sending File with Macros - Macros do not work
    By milwaukee in forum Excel General
    Replies: 1
    Last Post: 09-15-2015, 08:21 PM
  4. Macros do not work on another PC
    By Dimy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2015, 03:26 AM
  5. [SOLVED] Macro Doesn't Work Through Button, Does Work Through Developer ->Macros Option
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2013, 11:55 AM
  6. Macros stop to work when work sheet is protected. Run time error 1004
    By sellim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 01:14 AM
  7. Why do Macros work sometimes?
    By ctmurray in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2008, 05:08 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