Solved

Excel 2010 Template and RIbbonX Initiated Macro

Posted on 2011-02-28
3
685 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
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 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:broomee9
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
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.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now