Solved

Excel 2010 Template and RIbbonX Initiated Macro

Posted on 2011-02-28
3
686 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

910 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

18 Experts available now in Live!

Get 1:1 Help Now