Parent file address, in embedded word doc fields is absoluted

前端 未结 1 1136
夕颜
夕颜 2021-01-17 02:31

How can made it relative?

I have \"WB1.xlsm\" in \"E:\\Administration\\Salary\".

A word document was embedded in <

相关标签:
1条回答
  • 2021-01-17 03:09

    LINK fields cannot be made to retain a relative address. You may be able to resolve the issue by setting a hyperlink base, which MS wrongly refers to as setting a relative hyperlink. See:

    https://support.microsoft.com/en-au/help/903163/how-to-create-absolute-hyperlinks-and-relative-hyperlinks-in-word-docu

    Alternatively, for a field code solution that works with fields other than LINK fields, and a macro that works with all fields, see:

    http://windowssecrets.com/forums/showthread.php/154379-Word-Fields-and-Relative-Paths-to-External-Files

    0 讨论(0)
提交回复
热议问题