We help IT Professionals succeed at work.
Get Started

How to deploy VBA-based Excel 2013  solution to users

65 Views
Last Modified: 2016-02-11
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
Group Finance Manager
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE