WD97: IncludePicture Inserts Blank Placeholder

Last reviewed: July 31, 1997
Article ID: Q164993
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

When you use the IncludePicture field, and you attempt to insert an invalid or missing picture, Word inserts a blank picture placeholder and does not display an error message.

NOTE: In earlier versions of Microsoft Word, when an IncludePicture field includes a path to an invalid or missing picture file, Word displays the following error message:

   Error! Not a valid filename

WORKAROUND

Use the following steps to locate and delete a blank picture placeholder:

  1. Open your document in Word.

  2. Press ALT+F9 to display the field codes in your document.

    The IncludePicture field codes will resemble the following

          {IncludePicture <picture.gif>}
    

          -or-
    

          {IncludePicture C:\<folder path>\<picture.gif>}
    

    (where <folder path> is the full path to the picture, and picture.gif is the name of the picture file).

  3. Locate and select an IncludePicture field, and then press ALT+F9 to toggle the field codes off.

    The picture will be selected after you toggle the field codes off.

  4. If the blank picture placeholder that is selected is blank, press DELETE to remove it. (If you have a valid picture selected, leave it alone.)

  5. Repeat steps 2-4 until all the empty picture placeholders have been deleted.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords          : kbfield winword word8 word97 kbusage
Version           : 97
Platform          : WINDOWS
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 31, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.