PC Review


Reply
Thread Tools Rate Thread

Change pane from outline to thumbnails / slide selection macro

 
 
brett
Guest
Posts: n/a
 
      1st Jul 2005
Using a macro, I need to switch to normal view, change the first pane to
thumbnails, and select slides 3 and 5.

I found Shyam's code to change to thumbnails and I appended it with
"pane(1).activate" so I could select slides in it. But I can only select a
contiguous range. For example, it selects slides 3-5 instead of 3 and 5. If
thumbnails were already displayed in pane(1), the non-contiguous selection
code works, but if it first has to be switched over to thumbnails (using
this code) it then only allows a contiguous range.

I know the outline tab is limited to contigous range selection, and it seems
PowerPoint thinks it's still in the outline tab after having run this code
to change to thumbnails - when my selection is made. So, I'm confused. Is
there any way to let this macro finish by selecting the non-contiguous range
I set?

Sub SetSlideTab()
Dim oCmdButton As CommandBarButton
Set oCmdButton = CommandBars("Standard").Controls.Add(Id:=6015)
DoEvents
ActiveWindow.ViewType = ppViewNormal

If Not oCmdButton Is Nothing Then
If ActiveWindow.Panes(1).ViewType = ppViewOutline Then
oCmdButton.Execute
End If
oCmdButton.Delete
Set oCmdButton = Nothing
End If

ActiveWindow.Panes(1).Activate
ActivePresentation.Slides.Range(Array(3, 5)).Select

End Sub


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outline pane on the right while the Slide pane on the left RT Microsoft Powerpoint 4 5th Jan 2009 08:21 AM
Powerpoint: put current slide in show halfway down outline pane =?Utf-8?B?R2VvZmYgQVZS?= Microsoft Powerpoint 2 3rd Jun 2006 12:47 AM
Thumbnails in Outline Pane Powerpoint 2004 Brandon Microsoft Powerpoint 1 31st Mar 2006 05:42 PM
Photos are not the same size in thumbnails as in the slide pane =?Utf-8?B?Qm9uYnJvb2tz?= Microsoft Powerpoint 1 28th Sep 2005 01:47 PM
Viewing the slide sorter in the outline pane =?Utf-8?B?VmVuZWV0?= Microsoft Powerpoint 2 19th Feb 2004 11:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 AM.