D
DanaLe
I'm following this MSDN example:
http://msdn.microsoft.com/en-us/lib....tools.excel.worksheet.hyperlinks(VS.80).aspx
Here is my code snippet:
Excel.Range values = currentworksheet.get_Range("A" +
currentlinenumber.ToString(),
(Excel.Range)currentworksheet.Cells[currentlinenumber, printstrings.Length]);
values.Value2 = printstrings;
currentworksheet.Hyperlinks.Add(values, hyperlink, "", "", "");
The last line incites a COMException: "Exception from HRESULT: 0x800A03EC";
not very descriptive and a quick search doesn't yield a lot.
Thought I would hit you guys up and get some eyes on it and see if anyone
can point out something obvious and hopefully simple that I need to fix?
Much thanks!
Dana
http://msdn.microsoft.com/en-us/lib....tools.excel.worksheet.hyperlinks(VS.80).aspx
Here is my code snippet:
Excel.Range values = currentworksheet.get_Range("A" +
currentlinenumber.ToString(),
(Excel.Range)currentworksheet.Cells[currentlinenumber, printstrings.Length]);
values.Value2 = printstrings;
currentworksheet.Hyperlinks.Add(values, hyperlink, "", "", "");
The last line incites a COMException: "Exception from HRESULT: 0x800A03EC";
not very descriptive and a quick search doesn't yield a lot.
Thought I would hit you guys up and get some eyes on it and see if anyone
can point out something obvious and hopefully simple that I need to fix?
Much thanks!
Dana