WD97: Inserting Linked Picture Results in Absolute Path (164622)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q164622 SYMPTOMS
When you record a macro to insert a picture(on the Insert menu, point
to Picture and click From File), and
-and-
- the picture is located in the same folder or in a folder belonging to
the same folder as your document,
the macro records an absolute path for the picture instead of recording
a relative path as expected. When the macro is run, the field code used
for the linked picture is an absolute path instead of a relative path.
WORKAROUND
To change the path for the linked picture, edit the recorded macro and
change the path for the linked picture from "absolute" to "relative."
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Major | Last Reviewed: | 11/14/2000 |
---|
Keywords: | kbbug kbdtacode kbgraphic kbprogramming KB164622 |
---|
|