Solved

Excel 2010 Template and RIbbonX Initiated Macro

Posted on 2011-02-28
3
690 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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.

733 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