This and that...

This and that...

How to import data from Microsoft Excel to a Lotus Notes form with LotusScript

Notes ProgramingPosted by Martin Tue, February 17, 2009 18:29:24

Here is what I feel is the simplest and quickest LotusScript code to import data from Microsoft Excel to a Lotus Notes form. Make sure that the first row of your Microsoft Excel spreadsheet has the field names from the Lotus Notes form that you'd like to use for the import.

To implement this LotusScript code:

Insert the LotusScript below into an action button in a view, or make it available from the action menu, because it uses the NotesUIWorkspace class.

Write the code in an agent and run it from the Actions menu. This will import up to 256 columns by 65,536 rows from Excel to your Lotus Notes form.

Use following code: