?
Solved

ActiveX button in excel spreadsheet

Posted on 2011-05-03
3
Medium Priority
?
313 Views
Last Modified: 2012-05-11
I added an "easy button" of sorts to a spreadsheet to help a friend out. Basically it's a ActiveX control button that runs whatever script is in there.

The "problem" is that whenever he opens up the document on his computer and hits the button the first time he has to hit the option button that pops up and allow the script to be run.

What I am wondering is how can we make it so that he doesn't have to do that? Can I make the document trusted or something like that?

Thank you.
0
Comment
Question by:thirtywinter
  • 3
3 Comments
 
LVL 37

Assisted Solution

by:TommySzalapski
TommySzalapski earned 2000 total points
ID: 35513408
You could set macro security to super low (not recommended) the other option is to digitally sign your macro and add the certificate to the certificate store on his computer.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 35513414
Follow the instructions here
http://support.microsoft.com/kb/307731
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 2000 total points
ID: 35513431
Sorry, this link is better: http://office.microsoft.com/en-us/excel-help/digitally-sign-a-macro-project-HA001231781.aspx

You'll have to use the same computer for any updates to the macro or else you'll have to make a new certificate.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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.

839 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