?
Solved

Excel 2010 Template and RIbbonX Initiated Macro

Posted on 2011-02-28
3
Medium Priority
?
697 Views
Last Modified: 2012-08-14
I have cretaed an Excel 2010 macro-enabled template, The template has a RIbbonX custom tab/
group/button created using the std backstage Options\Customize Ribbon. The custom button is
inserted from the Customize Ribbon Macros which shows the macros resident in the template
file. The problem is that when an instacne of the file is created from the macro-enabled template
and the user clicks the custom button to run the macro, Excel opens the original template file and
runs th macro from the original template. Obviously the custom buton is referencing the original
template, but I would expect MS to properly call VBA from an instance of a template. ANy help here
would be greatly appreciated. I want to use the RIbbonX to cll the macro, both for ease of use
on the part of the target end users and for a more professional "polish". Thx!
0
Comment
Question by:LakesideIT
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 total points
ID: 34997176
I suspect the XML in your template has a full path to the template file in it. You would need to use the CustomUI editor to alter the XML in the file so that it does not include a file path.
0
 
LVL 24

Expert Comment

by:Tracy
ID: 35225368
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question