Save as WebPage

A

Andibevan

Hi,

I'm using Powerpoint 2k on Windows xp. When I try to save a presentation as
a webpage I get an error saying "PowerPoint found an error that it can't
correct. You should save presentations, quit and then restart powerpoint"

The presentation has 17 pages. If I delete all slides but the first 3 it
works. The content of the first 3 slides is no different from the rest of
the presentation.

I also experience the same problem on an Powerpoint 2k on a windows 2k pc.

Any ideas / pointers - are there any limitations to the outlook 2k 'save as
webpage' functionality.

Thanks

Andi
 
G

Glen Millar

Hi,

Could be a bunch of things but this is a good place to start :)

PowerPoint found an error that it can't correct
http://www.pptfaq.com/FAQ00220.htm


--

Regards,

Glen Millar
Microsoft PPT MVP

Tutorials and PowerPoint animations at
www.pptworkbench.com

glen at pptworkbench dot com

Please tell us your PowerPoint / Windows version,
whether you are using vba, or
anything else relevant
 
K

Kathy Jacobs

It sounds to me like there is something on slide 4 that PPT doesn't want to
convert to HTML. The first thing I would try is to insert a duplicate copy
of slide 4, then delete the original one. Now, re-try the convert to HTML.
See if the process dies in the same place.

Next thing to try is checking slide 4 for things that aren't working as you
might expect. Are there graphics that are partially on the slide and
partially off? If so, that could be the problem. Copy/paste/remove old on
some of those and see if that helps.

A third thing to try is to create a copy of your presentation that has just
slides 5 to 17. See if that converts. If so, you may need to re-create slide
four.

Post back and let us know if any of these ideas work.

--
Kathryn Jacobs, Microsoft MVP OneNote and Powerpoint
Author of Kathy Jacobs on PowerPoint - Available now from Holy Macro! Books
Get PowerPoint and OneNote information at www.onppt.com

I believe life is meant to be lived. But:
if we live without making a difference, it makes no difference that we lived
 
S

Steve Rindsberg

Hi,

I'm using Powerpoint 2k on Windows xp. When I try to save a presentation as
a webpage I get an error saying "PowerPoint found an error that it can't
correct. You should save presentations, quit and then restart powerpoint"

The presentation has 17 pages. If I delete all slides but the first 3 it
works. The content of the first 3 slides is no different from the rest of
the presentation.

Sounds like something's corrupt on one or more of the slides. With luck, it'll
be just one. Try deleting slide 4 from a copy of the presentation and try
saving as HTML again.

If that fixes it, all you need to do is re-create the bad slide.
 
A

Andibevan

Thanks for the suggestion - I tried it and the problem remains - obviously
there may be another slide that is causing problems for some reason.

I think I will need to save each page in a seperate presentation and then
save it as a webpage in order to determine which won't work.

Bizarely - If I copy slide 4 to a new presentation I can save it as a
webpage quite happily.

I'm not quite sure what to try now??
 
M

Michael Koerner

Did you try as Kathy suggested to make a duplicate or new slide 4 in the
original presentation and see if it will compile?
 
A

Andibevan

I did try that and it still wouldn't compile

I also tried completely deleting it and it still wouldn't compile.

Slide 4 contains an excel table that has been inserted. I wondered whether
it was the conditional formatting on the excel table that was causing it
problems so I deleted all the other slides with an excel table on them -
stilll doesn't compile.

I then deleted 8 of the 18 slides and it finally did compile - but obviously
I need the other 8 slides.
 
M

Michael Koerner

You say that the Excel file was inserted. I'm assuming as an Object from an
existing Excel file.Couple of things you can try. Put the Excel file into
the same folder as the PowerPoint presentation before you insert, then try
creating your web page. Secondly if you do not need to have live data in
your presentation, you could create each Excel page as an image file and
insert that into PowerPoint instead of the actual file.
 
A

Andibevan

Sorry, I wasn't specific enough. The excel items were inserted by copying a
set of cells from an excel worksheet and then pasting them into the
presentation. As a result the excel objects are completely independent from
any excel file. (i.e. I send out the presentation to a number of people,
they can view the presentation without any problems.)
 
M

Michael Koerner

How are you pasting the information as and Excel Object or as an image file?
If the ,material is not sensitive could you send me a copy of the offending
slide to (e-mail address removed)
 
S

Steve Rindsberg

Sorry, I wasn't specific enough. The excel items were inserted by copying a
set of cells from an excel worksheet and then pasting them into the
presentation. As a result the excel objects are completely independent from
any excel file. (i.e. I send out the presentation to a number of people,
they can view the presentation without any problems.)

Is it ok if the Excel data is "view-only" or must they also be able to
doubleclick and edit it in Excel? If the former, try ungrouping each of the
Excel objects before arfing out HTML.
 
A

Andibevan

The information is pasted as an excel object. Essentially the presentation
is used as a monthly report where the excel tables are updated on each
slide. Excel tables (i.e. an actual excel inserted object - but as a table
rather than an inserted icon).

As you can imagine - as it is a monthly report unfortunately it is
sensitive.

I created a macro to export each slide to a new presentation and then save
it as a seperate web page, I put some error checking in to tell which pages
will export or not. One slide just throws an error, another one causes
Powerpoint to completely crash - so at least I have identified the offending
slides.

I think that I probably have a presentation with quite a few problems and I
will have to take the time to identify each one individually. Thanks for
your help
 
M

Michael Koerner

You might want to post your macro code so the macro experts here can have a
look and see it that is not causing your problem

--
Michael Koerner
MS MVP - PowerPoint


Andibevan said:
The information is pasted as an excel object. Essentially the
presentation
is used as a monthly report where the excel tables are updated on each
slide. Excel tables (i.e. an actual excel inserted object - but as a
table
rather than an inserted icon).

As you can imagine - as it is a monthly report unfortunately it is
sensitive.

I created a macro to export each slide to a new presentation and then save
it as a seperate web page, I put some error checking in to tell which
pages
will export or not. One slide just throws an error, another one causes
Powerpoint to completely crash - so at least I have identified the
offending
slides.

I think that I probably have a presentation with quite a few problems and
I
will have to take the time to identify each one individually. Thanks for
your help
 
A

Andibevan

There are 2 subs here - one exports each slide as a seperate web page, the
other exports an individual slide.

Sub ExportSlidesAsIndividualWebPages()
'Sub to copy each slide to a new presentation and try to save it as a web
page
'Dim pOriginalPresentation As Presentation
Dim pOrigPresentation As Presentation: Set pOrigPresentation =
ActivePresentation
Dim pPresentation As Presentation
Dim sld As Slide
On Error GoTo myError
For Each sld In ActivePresentation.Slides
Debug.Print sld.SlideIndex
sld.Copy
Set pPresentation = Presentations.Add(WithWindow:=msoTrue)
pPresentation.Slides.Paste
pPresentation.SaveAs pOrigPresentation.Path & "\ExportSlide" &
sld.SlideIndex & ".htm", FileFormat:=ppSaveAsHTML,
EmbedTrueTypeFonts:=msoFalse
pPresentation.Close
Next sld
pPresentation = Nothing
sld = Nothing
Exit Sub
myError:
Debug.Print "Error trying to export slide " & sld.SlideIndex
Resume Next
End Sub


Sub TestCopy2New()
' Copy individual slide to new presentation and save as a web page
Dim pOrigPresentation As Presentation: Set pOrigPresentation =
ActivePresentation
Dim pPresentation As Presentation
Dim sld As Slide
Dim sPath As String
Set sld = ActivePresentation.Slides(6)
sld.Copy
Set pPresentation = Presentations.Add 'WithWindow:=msoTrue
pPresentation.Slides.Paste
sPath = pOrigPresentation.Path & "\ExportSlide" & sld.SlideIndex &
".htm"
pPresentation.SaveAs sPath, FileFormat:=ppSaveAsHTML,
EmbedTrueTypeFonts:=msoFalse
Debug.Print sPath
pPresentation.Close
End Sub
 
S

Steve Rindsberg

I'd change this:
pPresentation = Nothing
sld = Nothing

to

Set pPresentation = Nothing
Set sld = Nothing

While it'll compile the first way, it'll throw an error, the error will get
trapped by your error handler but you won't be able to distinguish it from an
export error.
 

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