Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Add-in - need to check if user has enabled macros

Status
Not open for further replies.

sedrisco

Programmer
Oct 25, 2001
12
US
I have an Excel Add-in that works with an Excel Template, and you need to enable macros when opening the workbook to get all the functionality.

I'd like to handle errors encountered when users don't enable macros by displaying a message. Is there a way to check programmatically in VB.Net if the user has selected to enable or disable macros?

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top