Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Excel 2010: Concatenated URL broken when saved to PDF

$
0
0

I have a small application built in Excel 2010 with cell functions plus some vba subs and a vba function that is called in worksheet cells.

One column has a formula in each cell that builds a hyperlink using a base URL, variable part, fixed part, variable part.

Works great, until... I save the print area to PDF using the inbuilt functionality in Excel 2010.

The generated PDF shows hyperlinks that look OK but the link actually only takes you to the first part of the concatenated URL (the base URL).

Eg this link: 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

Would be generated by the 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 the 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 the actual link takes you 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 to get it to create the correct hyperlink in the PDF? Or is this a Microsoft bug(or Adobe)?

 


Graham Gold


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>