Hello Niklas, Thank you for the prompt answer. I changed NONE to NORMAL and I set the parameter LINK to spaces. The routine seems to make an effort to get the sheet; however, after a short time to system asks me to send an error report to SUN. This I did not do yet. Maybe you have another idea.
Regards, Rudi ----- Original Message ----- From: "Niklas Nebel" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 16, 2005 11:17 AM Subject: Re: [api-dev] HTML and Spreadsheet > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
