Home > Ask the Domino Experts > Domino Development Questions & Answers > Can I create and copy Microsoft Excel spreadsheets with LotusScript?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Can I create and copy Microsoft Excel spreadsheets with LotusScript?

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 15 April 2009
How do I create an Excel spreadsheet using LotusScript? I also want to copy one Excel spreadsheet to another using LotusScript.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Domino Development
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
How to make computed fields recalculate
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
Adding an action to the Lotus Notes right-click menu
Writing temporary text files that email as attachments
Trapping the on-click event of a radio button
Copying a form object using LotusScript
Connecting to a remote DB2 server with LEI
Lotus Notes' document check-in/check-out functionality

LotusScript
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
Run or restart Notes/Domino agents via text messages
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management
LotusScript agent automates selective mail file replication

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Microsoft Excel is a proprietary Microsoft format and the APIs that allow you to create it belong to Microsoft. If you're running on a system that has Excel installed, you can use Object Linking and Embedding (OLE) automation to create and populate the spreadsheet. The heavy lifting is done by code that is part of Excel. There have been many articles written about how to use OLE automation with Excel from LotusScript, which you can easily find if you search the Internet for "createobject excel lotusscript".

Starting with Lotus Notes version 8.0.1, you can use the same techniques to manipulate Lotus Symphony spreadsheets. This code has the advantage of being part of the Notes client, so you don't have to install Office. However, it is also Windows-only.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Tip: How to import data from Excel to a Lotus Notes form with LotusScript
  • Tip: How to export Lotus Notes views to a Microsoft Excel database
  • Tip: Create file system labels for Microsoft Excel and Word mail merges




  • Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Lotus Notes Domino on Blackberry and mobile devices
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts