Create an automatic scheduled view export in Excel

Learning how to create an automatic scheduled view export in Microsoft Excel can be a daunting task, but here are some suggestions to do just that.

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

    Dig deeper on LotusScript

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.



    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:




    • iSeries tutorials

      Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

    • V6R1 upgrade planning checklist

      When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

    • Connecting multiple iSeries systems through DDM

      Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...