PC Review


Reply
Thread Tools Rate Thread

current slide

 
 
Dave Eades
Guest
Posts: n/a
 
      18th Jul 2003
How do I change the following line of code so that it targets the crrent
slide rather than slide 1?
I have tried different combinations but it never seems to work!

ActivePresentation.Slides(1).Shapes(i).TextFrame.TextRange.Text = VALUES(i -
1)

Thanks for any help

Dave


 
Reply With Quote
 
 
 
 
Shyam
Guest
Posts: n/a
 
      18th Jul 2003
Dave,
You make use of this generic routine to get the active slide.
http://www.mvps.org/skp/ppt00044.htm


--
Regards
Shyam Pillai

Image Importer Wizard
http://www.mvps.org/skp/iiw.htm

"Dave Eades" <(E-Mail Removed)> wrote in message
news:3f17ce9c$0$15034$(E-Mail Removed)...
> How do I change the following line of code so that it targets the crrent
> slide rather than slide 1?
> I have tried different combinations but it never seems to work!
>
> ActivePresentation.Slides(1).Shapes(i).TextFrame.TextRange.Text =

VALUES(i -
> 1)
>
> Thanks for any help
>
> Dave
>
>



 
Reply With Quote
 
Chirag
Guest
Posts: n/a
 
      18th Jul 2003
If you want the current slide in the design (editing) mode, use:

ActiveWindow.Selection.SlideRange(1)

If you are in the slide show mode, use:

SlideShowWindows(1).View.Slide

- Chirag

PowerShow - View multiple shows simultaneously
http://officerone.tripod.com/powershow/powershow.html

"Dave Eades" <(E-Mail Removed)> wrote in message
news:3f17ce9c$0$15034$(E-Mail Removed)...
> How do I change the following line of code so that it targets the crrent
> slide rather than slide 1?
> I have tried different combinations but it never seems to work!
>
> ActivePresentation.Slides(1).Shapes(i).TextFrame.TextRange.Text =

VALUES(i -
> 1)
>
> Thanks for any help
>
> Dave
>
>



 
Reply With Quote
 
Dave Eades
Guest
Posts: n/a
 
      18th Jul 2003
That's got it!

Thanks for your help

Dave

"Chirag" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> If you want the current slide in the design (editing) mode, use:
>
> ActiveWindow.Selection.SlideRange(1)
>
> If you are in the slide show mode, use:
>
> SlideShowWindows(1).View.Slide
>
> - Chirag
>
> PowerShow - View multiple shows simultaneously
> http://officerone.tripod.com/powershow/powershow.html
>
> "Dave Eades" <(E-Mail Removed)> wrote in message
> news:3f17ce9c$0$15034$(E-Mail Removed)...
> > How do I change the following line of code so that it targets the crrent
> > slide rather than slide 1?
> > I have tried different combinations but it never seems to work!
> >
> > ActivePresentation.Slides(1).Shapes(i).TextFrame.TextRange.Text =

> VALUES(i -
> > 1)
> >
> > Thanks for any help
> >
> > Dave
> >
> >

>
>



 
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
Programatically (VBA) copy and paste all objects from a slide of anon-active presentation to current slide quiquejbb Microsoft Powerpoint 1 22nd Mar 2010 09:39 PM
Go to new slide only AFTER audio file in current slide completes? Traveller Microsoft Powerpoint 2 8th Mar 2008 01:21 PM
powerpoint shows one slide ahead on PC while current slide on lar. =?Utf-8?B?TWFydGlu?= Microsoft Powerpoint 3 31st May 2006 01:09 AM
Printing a Current Slide in Slide Show View =?Utf-8?B?TWF0aXNzdGE=?= Microsoft Powerpoint 3 8th Aug 2005 03:05 PM
Need to enable the objects to also be inserted into current slide in normal view, not just a selected slide Tyron Microsoft Powerpoint 1 23rd Jun 2005 02:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:50 AM.