VB

C

Charlie

Using VB (or maybe VBA), how do I retrieve the notes for each slide in a
PowerPoint presentation?
Will it be in a .rtf format to preserve formatting?
 
S

Shyam Pillai

No, just plain text. But you might be able adapt the code sample in the
link
to find each notes text placeholder and copy/paste it into Word.
Or paste the notes into the body placeholders of a dummy presentation and
then save the presentation as outline.
 
C

Charlie

I can retrieve the text, but I also need to retrieve the formatting. Any
clue? There must be a table (array) that defines text ranges with
formatting (bold, italic, font, size, etc.) that corresponds to the text.
 
C

Charlie

I have the MS PowerPoint 11 object library referenced and I cannot get your
application to work.
Are you using a different library?
 
S

Shyam Pillai

The code is VBA code, to make it run on VB you will need to make some
changes. Mostly notably any shape in VBA with have to dimmed as
PowerPoint.Shape in vb since VB already has a shape object.
 
C

Charlie

OK. I think I have the runs method working. In the notes section, there is
a paragraph of text followed by a bulleted list. How can I tell the
difference between the normal text and a bullet lines? The bullet does not
seem to be retrieved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top