I want to create an automatic scheduled view export in Microsoft Excel format. This works from the File -> Export...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
Dig Deeper on LotusScript
Related Q&A from Brad Balassaitis
Upon moving to Lotus Notes 8, some Lotus Notes users received an error message stating: 'Database has not been opened yet.' Find out why here.continue reading
Discover what security settings you need to fix if you encounter the Lotus Notes database error: 'database is not opened yet.'continue reading
Learn the Formula language code that you can use if you'd like your Lotus Notes form with embedded views to stop displaying all response documents.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.