Thanks Shyam. This is perfect.
Interestingly, the code on the 2nd page creates the array of the selected
cells, but then I think it relies on the cells being in table 1 on the first
slide (by virtue of the line "With ActivePresentation.Slides(1).Shapes(1)").
Is that right?
It doesn't matter for my purpose as I just edited the cells at the point in
the code where they were added to the array (probably a tad inefficient, but
works fine nonetheless).
Thanks for your help
> There are some examples of working with tables here:
> http://skp.mvps.org/ppttable.htm
[quoted text clipped - 16 lines]
> >
> > Thanks in advance
Steve Rindsberg - 09 May 2008 16:44 GMT
> Thanks Shyam. This is perfect.
>
> Interestingly, the code on the 2nd page creates the array of the selected
> cells, but then I think it relies on the cells being in table 1 on the first
> slide (by virtue of the line "With ActivePresentation.Slides(1).Shapes(1)").
> Is that right?
Yes. You'll find that most example code either does this or assumes that the
shape in question has been selected by the user.
It's left as an exercise for the user (that'd be your good self) to modify the
code to operate on whatever shape you need it to. Usually it's no big deal.
> It doesn't matter for my purpose as I just edited the cells at the point in
> the code where they were added to the array (probably a tad inefficient, but
[quoted text clipped - 22 lines]
> > >
> > > Thanks in advance
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================