• Embedded PowerPoint Slide problem (Word 2003 SP2)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Embedded PowerPoint Slide problem (Word 2003 SP2)

    Author
    Topic
    #438109

    I have embedded PowerPoint slides in some Word documents. Sometimes when I update all the fields in a document, the slides disappear and I get the message “Error! Objects cannot be created from editing field codes.” I don’t understand why this happens, and it is causing our team a lot of grief. In my test file, which is unfortunately was too large to attach, there are two embedded PowerPoint slides. When all fields are updated, the first slide is unaffected, but the second one gets replaced by the error message. Before updating, when pressing Shift-F9, I see { EMBED POWERPOINT.SLIDE.8 } for both slides.

    Viewing 0 reply threads
    Author
    Replies
    • #1043654

      What happens if you lock the slides for updating? This can be done by selecting a slide and pressing Ctrl+F11.

      • #1043671

        When I lock the slides they don’t update when I try to do so. But with up to 50 slides in a document, visiting each slide and locking it would be burdensome, that is unless there is a macro that can do this.

        • #1043683

          The following macro will lock all fields in the active document whose field code contains the word PowerPoint:

          Sub LockPPT()
          Dim fld As Field
          For Each fld In ActiveDocument.Fields
          If InStr(1, fld.Code, “PowerPoint”, vbTextCompare) > 0 Then
          fld.Locked = True
          End If
          Next fld
          End Sub

          • #1043687

            Thanks again, Hans. The LockPPT macro did the trick! The writing team will be ecstatic when I show them.

    Viewing 0 reply threads
    Reply To: Embedded PowerPoint Slide problem (Word 2003 SP2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: