Rudolf Huber wrote:
I am trying to get the following routine with the functions HTTP and
Spreadsheet to run under OOo 1.1.4. Neither the HTML- nor the
CSV-filter-options function. When I look at the spreadsheet I see no link;
however, when I check the menue Edit-Sheet-Select the sheet names show the
LINK for the HTML-page. Although the following lines show the entire
routine,
only the last ten lines are really important:
oSheet.link(sURL, "Link", "", "",
com.sun.star.sheet.SheetLinkMode.NONE)
Two problems here:
- SheetLinkMode.NONE doesn't do much. Use NORMAL instead.
- The aSheetName parameter names a sheet in the source document, that
is, the imported HTML file. Use an empty string to get the first sheet,
regardless of its name.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]