Excel 2010: Concatenated URL broken when saved to PDF -
i have small application built in excel 2010 cell functions plus vba subs , vba function called in worksheet cells.
one column has formula in each cell builds hyperlink using base url, variable part, fixed part, variable part.
works great, until... save print area pdf using inbuilt functionality in excel 2010.
the generated pdf shows hyperlinks look ok link takes first part of concatenated url (the base url).
would generated following formula: =hyperlink(concatenate("https://www.support.unisys.com/common/epa/macro.aspx?path0=a-s&path1=ple&path2=web-select&select=ple-ple-to-ic+eq+",d1,"&title=ple(s)+released+since+ic:+",c1))
the saved pdf displays hyperlink label as: https://www.support.unisys.com/common/epa/macro.aspx?path0=a-s&path1=ple&path2=web-select&select=ple-ple-to-ic+eq+mcp-054.1a.117&title=ple(s)+released+since+ic:+mcp-054.1a.116
but actual link takes to: https://www.support.unisys.com/common/epa/macro.aspx?path0=a-s&path1=ple&path2=web-select&select=ple-ple-to-ic+eq+
any ideas how create correct hyperlink in pdf? or microsoft bug(or adobe)?
regards, graham
so, turns out needed select ignore print areas on pdf options dialog, avoid lines being inserted during conversion, because of long url.
i had amend commas in url url encoded (%2c) truncation on comma in pdf.
see link below got ignore print areas nugget: http://answers.microsoft.com/en-us/office/forum/office_2010-excel/excel-2010-concatenated-url-broken-when-saved-to/940ff1f5-fbdb-4875-a4f7-536b615e6df2
Comments
Post a Comment