Ask the Expert

Create an automatic scheduled view export in Excel

I want to create an automatic scheduled view export in Microsoft Excel format. This works from the File -> Export menu, but Formula language can't exist in a scheduled agent. I'm not familiar with the Lotus object model.
Menu actions are part of the user interface (UI). Agents that run in the background can't interact with the UI, because such a UI doesn't exist.

It's possible to create an automatic scheduled view export in Excel with LotusScript code using Microsoft Excel COM classes. It's not the easiest thing in the world to pick up, but you can find sample code on the Lotus Sandbox site and adapt it for your Lotus Notes view.

You can also search Microsoft's Developer Network (MSDN) site for a reference of adaptable Microsoft Excel COM classes.

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

Related information from SearchDomino.com:

  • 10 tips in 10 minutes: Top 10 LotusScript tips
  • Learning Guide: LotusScript
  • Tip: How to export Lotus Notes views to a Microsoft Excel database
  • Tip: Import data from Excel to a Notes form with LotusScript
  • Reference Center: LotusScript
  • This was first published in May 2008

    There are Comments. Add yours.

     
    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to: