Solved

Hide slide show toolbar in powerpoint vba

Posted on 2013-12-03
6
898 Views
Last Modified: 2014-01-28
Is there any known way to hide the toolbar that pops up in the bottom left hand corner of a ppt slide show in vba.

I know how to do it through tools/options but i would like to do it in the program.

Thanks
0
Comment
Question by:SweetingA
6 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 39694179
can you post an image to show which tool bar you are referring to?

what version of PP are you using?
0
 
LVL 23

Expert Comment

by:JSRWilson
ID: 39694720
I don't think this is possible in vba.
The setting is held in a registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\PowerPoint\Options\SSMenuButton

BUT PowerPoint reads this on Open so even if you write code to change the key you would need to close and reopen PPT before it took effect.
0
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39694733
Hi,

pls refer to
http://msdn.microsoft.com/en-us/library/office/aa141004(v=office.10).aspx

use to find your toolbar

Sub Test()
For Each Item In Application.CommandBars
    Debug.Print Item.Index & ", " & Item.Name
Next
End Sub

Open in new window

and then use it to hide
 Result = CBToolbarShow("Your CommandBar", False)

Open in new window

Regards
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 23

Expert Comment

by:JSRWilson
ID: 39695229
Have you actually made that work Rgonzo and if so what was the Command Bar name?
0
 

Author Comment

by:SweetingA
ID: 39748930
No image possible as ctrl button hides object.

Its the block with left/right arrow, pen tool and menu.

I can hide using ctrl + h but then i can't see the mouse pointer either.

Seems to be something added from ppt 2007 onwards as not apparent in ppt 2003.

Only in view during slide show.

Regards
0
 
LVL 23

Expert Comment

by:JSRWilson
ID: 39773225
As I said the only way with code would be to set the registry key as above and then close and reopen PowerPoint or set the slide show to kiosk mode (which will also prevent on click animation and transitions)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Background   Certain code in VBA requires initialization, such as application events. The app initialization is often triggered by the Auto_Open sub which is a special procedure that runs when an add-in loads. More significantly, this sub does n…
This video teaches viewers how to fit pictures into slides, crop and remove backgrounds, and alter photos to look more professional.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now