R
ryan.crowe
Hi All-
Good group here. I've found alot of useful stuff on it but I was
having trouble figuring this out:
Basically, beside my 'Next Slide' & 'Previous Slide' links, I want to
actually display the actual title of these slides. I am having trouble
figuring out the right strategy to go about this. After many
iterations, this is what I have, which I now can't even seem to trigger
but did work earlier (work meaning, it displayed the title in the label
after clicking the label). Here is what that code looks like:
PrevSlideTitle =
ActivePresentation.SlideShowWindow.Presentation.Slides(SlideShowWindows(1).View.Slide.SlideIndex
- 1).Shapes.Title.TextFrame.TextRange.Text
NextSlideTitle =
ActivePresentation.SlideShowWindow.Presentation.Slides(SlideShowWindows(1).View.Slide.SlideIndex
+ 1).Shapes.Title.TextFrame.TextRange.Text
Label1 = PrevSlideTitle
Label2 = NextSlideTitle
I can figure out how to assign a label (or any other control for that
matter) these default values.
The problems I am having are:
- I can't get this to work properly when I put these label controls on
the slide master. They only seem to work when on individual slides
- They don't do anything until I click on the label
- They don't update when I move to the next or previous slide
Is there an easy way to do this? I am very new at PPT macros but have
VBA experience in Excel & Access.
Good group here. I've found alot of useful stuff on it but I was
having trouble figuring this out:
Basically, beside my 'Next Slide' & 'Previous Slide' links, I want to
actually display the actual title of these slides. I am having trouble
figuring out the right strategy to go about this. After many
iterations, this is what I have, which I now can't even seem to trigger
but did work earlier (work meaning, it displayed the title in the label
after clicking the label). Here is what that code looks like:
PrevSlideTitle =
ActivePresentation.SlideShowWindow.Presentation.Slides(SlideShowWindows(1).View.Slide.SlideIndex
- 1).Shapes.Title.TextFrame.TextRange.Text
NextSlideTitle =
ActivePresentation.SlideShowWindow.Presentation.Slides(SlideShowWindows(1).View.Slide.SlideIndex
+ 1).Shapes.Title.TextFrame.TextRange.Text
Label1 = PrevSlideTitle
Label2 = NextSlideTitle
I can figure out how to assign a label (or any other control for that
matter) these default values.
The problems I am having are:
- I can't get this to work properly when I put these label controls on
the slide master. They only seem to work when on individual slides
- They don't do anything until I click on the label
- They don't update when I move to the next or previous slide
Is there an easy way to do this? I am very new at PPT macros but have
VBA experience in Excel & Access.