ActiveX PowerPoint button stays in design mode

almagg

Well-known Member
Joined
Aug 21, 2002
Messages
705
i have an ActiveX 'CommandButton1' so when the user clicks it breaks all links then the button is hidden.

the code works fine when i run it from the editor window.
but the button is staying in 'design' mode.
when i click - nothing.
when i mouse over i get the 'crossed arrows'.
the code is in Private Sub CommandButton1_Click()
isn't there usually a 'protractor' image to get in and out of ActiveX design mode?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
i just did some net surfing.
apparently the ActiveX objects only work in SlideShow.

based on my previous post is there any way to do this?

like the user probably would not even have the Developer tab showing.
then i could have them click the 'Macros' button and run from there.

thanks for any ideas.
 
Upvote 0
i worked it out.

initially i thought i would need the name of the ppt file etc...
but if only one ppt file is open then a command button on the Excel sheet
will work on the only ppt file open.

worked like a charm.
 
Upvote 0

Forum statistics

Threads
1,225,619
Messages
6,186,049
Members
453,335
Latest member
sfd039

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top