How to deploy VBA-based Excel 2013  solution to users

canuckconsulting
canuckconsulting used Ask the Experts™
on
I have created a VBA-based solution but have found that I'm uncertain how to best deploy this from my machine to the various users.   There are a number of issues:

1)  Quick Access Toolbar (QAT)- Commands available in all workbooks
I had thought it made sense for the user to invoke the macros by adding commands to the the (QAT) as highlighted below.  Unfortunately this change has resulted in those commands being displayed in the QAT for all worksheets.  Is there away to only have these buttons presented for the relevant xlxm?  If not, what is a better way to present the user with the macros?

Capture.JPG
2)  Quick Access Toolbar (QAT)- Commands aren't available when copying xlsm to user's machine
When I copy the xlxm file to a user's machine I need to manually add the command buttons to the QAT.  As above, is there way for the QAT commands to be retained between machines or is there a better solution to presenting the macros to the user?

3) Macros no longer work when renaming file
If I rename the file I get the error below if I try and run the macro:

Capture3.JPG
How can I best configure my solution so it is available regardless of the file name?  Here is what the project looks like currently:
Capture2.JPGCapture.JPG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Group Finance Manager
Commented:
Create a Tab for your workbook using the CustomUI Editor as described by Ron de Bruin

Change the Ribbon

It looks like ther is only 4 buttons needed so ir should be quite easy. If you attach an example workbook then I'll get you started

Author

Commented:
Thank you!  Beautiful and simple solution.  I had thought this was going to be a nightmare!
Roy CoxGroup Finance Manager

Commented:
Once you get used to it working with the ribbon is not too difficult. You can try Andy Pope's free addin when you are more familiar with the concepts. Post back if you need further help

Andy Popes's Ribbon Editor

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial