Export to excel sheet on selection

hi all, i have a view in my application.there is a button on that view which is exporting data to excel sheet.i want to export only those data which i am selecting in the view.how can i do this??

Subject: export to excel sheet on selection

Check designer help for unprocessedDocuments in NotesDatabase object

Subject: export to excel sheet on selection

use uiview.documents to get the selected documents from view

Subject: export to excel sheet on selection

By getting the handle of selected documents using the ‘UnprocessedDocuments’ property defined in NotesDatabase class, we can do that.