The information in this article applies to:
SYMPTOMSWhen you insert a linked, floating picture into a Microsoft Word 97 document, select it, and then try to view the SourcePath and SourceName properties in Visual Basic for Applications, you may receive the following error message: Clicking the Details button gives the following message:
RESOLUTION
To correct this problem, install Microsoft Word 97 Service Release 1
(SR-1).
Method 1: Use a Different Visual Basic for Applications CommandInstead of using the following two commands?Selection.ShapeRange(1).linkformat.sourcepathuse the following single command to return both the source name and the source path: ?Selection.ShapeRange(1).linkformat.SourceFullName Method 2: Change the Type of PictureChange the pictures from floating to inline or framed before running the Visual Basic for Applications code to view the SourceName or SourcePath properties.STATUS
Microsoft has confirmed this to be a problem in Microsoft Word 97 for
Windows. This problem was corrected in Microsoft Word 97 SR-1.
Q172475 OFF97: How to Obtain and Install MS Office 97 SR-1 MORE INFORMATIONThe problem occurs when you insert a linked, floating picture and then try to view the path and name information through Visual Basic for Applications. This can be done by inserting and selecting the linked, floating, starting the Visual Basic editor, and using the Immediate window to enter the following commands: ?Selection.ShapeRange(1).linkformat.sourcepathImmediately after you execute the second Visual Basic for Applications command you will receive the Invalid Page Fault (IPF). Executing only one command will not generate the IPF. The order in which you execute the commands has no effect on the IPF. REFERENCESFor more information about floating objects, please see the following articles in the Microsoft Knowledge Base: Q161692 WD97: Problems With Float Over Text Objects Additional query words: sr1 release1 general protection GPF crash 8.0 8.00
Keywords : kbgraphic kbwordvba |
Last Reviewed: August 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |