blescohier
07-02-2010, 01:55 PM
Hi,
We have a presentation that includes two Custom Shows. We have macros that end a named show and return the user to the index of the presentation.
The macros work fine on XP and VIsta; we have tried on two different machines running Windows 7 and the .EndNamedShow method does not work (running PowerPoint 2007 on all platforms), nor does GoToSlide...
Here is the code:
Sub Nav_Logo()
With SlideShowWindows(1)
.View.EndNamedShow
End With
theSlideIndex = ActivePresentation.Slides("Nav_Logo").SlideIndex
ActivePresentation.SlideShowWindow.View.GoToSlide(theSlideIndex)
End Sub
As I said, this works fine on machines running XP or Vista; copy the file to a Win7 machine and it doesn't quit the Custom Show or navigate.
Has something changed in Win7 that is preventing it from working, or are we overlooking something (other macros do run; replacing EndNamedShow with Exit in the above causes the presentation to exit)?
Would stripping out the custom shows and VB and re-writing the macros and rebuilding the custom shows on the Win7 machine make any difference?
Thanks for any ideas,
-Bill
We have a presentation that includes two Custom Shows. We have macros that end a named show and return the user to the index of the presentation.
The macros work fine on XP and VIsta; we have tried on two different machines running Windows 7 and the .EndNamedShow method does not work (running PowerPoint 2007 on all platforms), nor does GoToSlide...
Here is the code:
Sub Nav_Logo()
With SlideShowWindows(1)
.View.EndNamedShow
End With
theSlideIndex = ActivePresentation.Slides("Nav_Logo").SlideIndex
ActivePresentation.SlideShowWindow.View.GoToSlide(theSlideIndex)
End Sub
As I said, this works fine on machines running XP or Vista; copy the file to a Win7 machine and it doesn't quit the Custom Show or navigate.
Has something changed in Win7 that is preventing it from working, or are we overlooking something (other macros do run; replacing EndNamedShow with Exit in the above causes the presentation to exit)?
Would stripping out the custom shows and VB and re-writing the macros and rebuilding the custom shows on the Win7 machine make any difference?
Thanks for any ideas,
-Bill