OpenText format

Hello

I am just a beginner in LotusScript. I need to export some information out of Lotus Notes and into an Excel spreadsheet.

I found a script which basically does what I want except for one problem. Some of the information in Lotus Notes is in the form of numbers e.g. 065342 and when I import the exported file from Lotus Notes into Excel the leading 0 is dropped. I therefore want to make the column Text type format in Excel and this problem will not happen.

I am using the following command to import the text file into Excel which I found.

Call handle.Workbooks.OpenText(filename, 2, 1, 1, -4142, False, False, False, False, False, True, “@”, fieldinfo)

This command assumes that the information is delimited using a @. In my case this is not true and it is delimited by a tab.

So my questions:

Where can I find out the syntax for the LotusScript Workbooks.OpenText comand?

How do I tell the command that I delimit using TAB and not @ i.e what should be the second last parameter?

Thanks for your help