none
xml excel realtive path issue RRS feed

  • Question

  • Hi

    I have some code that creates a xml excel spreadsheet. This sheet contains hyperlinks to documents in subdirectories. An example of the href for the link would be ".\dir1\dir2\document.pdf". When the spreadsheet is opened in ms excel 2007 this link is wrongly rendered as "file:///c:\temp\dir1\dir2\dir1\dir2\document.pdf".

    I have found this article https://openxmldeveloper.org/forums/post/709.aspx but unfortunalty this is not working for me. Any thoughs?

    Thursday, July 23, 2009 6:49 AM

All replies

  • I creat a document using Excel app, and the "target" attribute of that relationship, which is referred by "hyperlink" is "sub%20folder\testFile.xlsx" .This will not cause auto-conversion.

    Monday, August 3, 2009 5:17 AM