Hello
I am trying to have a user click a button and a report will be generated from selected shapes.
Set vsoSelect = Visio.ActiveWindow.Selection ' How many selected shapes do we have?
For Each vsoShape In vsoSelect
Visio.Application.Addons("VisRpt").Run ("C:\Users\tom\Documents\ReportDefinition_2.vrd / rptOutput=EXCEL")
Next
This works. Can I direct the report output to a specific Excel file or do I have to live with what the report gives me?
I am trying to have a user click a button and a report will be generated from selected shapes.
Set vsoSelect = Visio.ActiveWindow.Selection ' How many selected shapes do we have?
For Each vsoShape In vsoSelect
Visio.Application.Addons("VisRpt").Run ("C:\Users\tom\Documents\ReportDefinition_2.vrd / rptOutput=EXCEL")
Next
This works. Can I direct the report output to a specific Excel file or do I have to live with what the report gives me?