Avatar of Member_2_6293242
Member_2_6293242

asked on 

"The macro cannot be found or has been disabled because of your Macro security settings" Error in VBA PPT Ribbonx

In VBA PPT custom ribbon tab throws this error, "The macro cannot be found or has been disabled because of your Macro security settings" while running some macros . But it doesnt appear while running from the code. Please help solve it. The attach file contains all the macros and ribbonx code. Set Text Margins (Module1.frmIntMargin_show1) is an example of the error
XMLVBAMicrosoft PowerPointSecurity* ribbonx

Avatar of undefined
Last Comment
John Wilson
Avatar of Alan
Alan
Flag of New Zealand image

Nothing attached?
Avatar of Member_2_6293242
Member_2_6293242

ASKER

Here is the source file. didnt get attached earlier due to file extension. Please change .txt to .pptm.
Zen-Tools.txt
ASKER CERTIFIED SOLUTION
Avatar of John Wilson
John Wilson
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Member_2_6293242

ASKER

Hi JSRWilson, Thanks so much, it solved. I have replaced the End statements with Me.unhide. Also Margin declarations are now changed to singles, etc. Could you please suggest any other improvement points in this code. Thanks again.
Avatar of John Wilson
John Wilson
Flag of United Kingdom of Great Britain and Northern Ireland image

Poster says solved
Security
Security

Security is the protection of information systems from theft or damage to the hardware, the software, and the information on them, as well as from disruption or misdirection of the services they provide. The main goal of security is protecting assets, and an asset is anything of value and worthy of protection. Information Security is a discipline of protecting information assets from threats through safeguards to achieve the objectives of confidentiality, integrity, and availability or CIA for short. On the other hand, disclosure, alteration, and disruption (DAD) compromise the security objectives.

32K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo