Microsft Jet oledb connection to excel loses formulae

Posted by Saubhagya on Stack Overflow See other posts from Stack Overflow or by Saubhagya
Published on 2010-04-12T17:29:06Z Indexed on 2010/04/12 17:33 UTC
Read the original article Hit count: 433

I have a dataset and I write it's values to an excel file using Microsoft Jet 4.0 Oledb provider. I want to put hyperlinks into the excel, for this I write "=HYPERLINK("http://www.abc.org/x.pdf")" in DS and then write it to excel. But when the excel is opened it prefixes a ' (quote/apostrophe) before the formula and there it comes as a text, not link. Can you help me removing that quote so that my excel file has hyperlinks instead of that as text?

I need to use Microsoft Jet 4.0 provider (not excel component) as the client machine may or may not have MS-Excel installed on his machine.

© Stack Overflow or respective owner

Related posts about oledb

Related posts about ms-office