QAT macro button referencing original file, "not save as" file

newbieX

New Member
Joined
Jul 24, 2013
Messages
31
0 down vote favorite I have an excel 2007 template that has a macro button in the quick access toolbar (QAT). When I save the template as an Excel Macro Enabled Workbook, the button found in the QAT is linked back to the macro in the original template, not the macro found in the new file I just saved. Is there a way I can get the QAT toolbar in this new file to reference the macro in the saved file instead of original template? I want the user to be able to reference the macro in the new file after saving as opposed to having it reference the template.


<tbody>
</tbody>
 

newbieX

New Member
Joined
Jul 24, 2013
Messages
31
I figure it out finally. I needed to add it for the current document only, not all documents (default). Opposite of what I intuitively thought. It probably has something to do with how the macros are stored with each option.
 

Forum statistics

Threads
1,081,676
Messages
5,360,441
Members
400,586
Latest member
Minty

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top