Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gallery buttons disappear

1 view
Skip to first unread message

ingrid makkinje

unread,
Jul 1, 2009, 7:32:01 AM7/1/09
to

I have a PPT template with a custom XML file to adjust the PPT ribbon. In
this ribbon I have created a gallery with VBA macros. Most of the galleries
work (some for text formatting, colorizing objects, fonts, etc), but the
macros that call a procedure that opens an other file, copies shape ranges,
make my buttons in the gallery disappear. When I reopen PPT the button in the
gallery are back.

This is the procedure that I use for copying shapes from another file:

Presentations.Open FileName:="C:\Program Files\BCGMacros\A4\A4 Graphs.ppt",
ReadOnly:=msoFalse
ActiveWindow.View.GotoSlide Index:=43
ActiveWindow.Selection.SlideRange.Shapes.SelectAll
ActiveWindow.Selection.Copy
ActiveWindow.Close
ActiveWindow.View.Paste

I hope someone can help me???
Thanks Ingrid

Jan Hyde

unread,
Jul 1, 2009, 10:52:28 AM7/1/09
to
ingrid makkinje <ingridm...@discussions.microsoft.com>'s
wild thoughts were released on Wed, 1 Jul 2009 04:32:01
-0700 bearing the following fruit:

to be honest this is a VB group, you'd be much better off in
VBA or powerpoint group.
--
Jan Hyde

Nobody

unread,
Jul 2, 2009, 5:45:52 PM7/2/09
to
0 new messages