BusinessObjects Board

export to excel

Hi ,

I am using BO 5.1.4. i have created two reports using one data provider and using macro i want to export to excel file. When i export to excel using Call dp.ConvertTo(ExpExcel, 0, str) statement , a file with first report exported. I want to store the 2 reports in 2 work sheet in a single excel file. Please provide me solution.

Thanks in advance

With regards


lwlawrence (BOB member since 2004-09-08)

You could try this link, see if it helps


David McQueen :uk: (BOB member since 2003-11-27)

Why two reports based on the same DP?

On Document_Refresh; Loop through Application.Documents, running the export code from the previous link.

Should work a treat.

Stu


stuartgmilton :uk: (BOB member since 2003-01-30)