[Moderator Note: Moving to SDK.]
I have a Visual Basic routine started, but I need to know the commands to “copy all” in the BusObj and open a pre-designed Excel worksheet and paste in the copied material. So the code would look like:
Begin Subroutine
Edit -Copy All
Open the Excel File
Go to row 1 column 1 of Excel File
Paste
End Subroutine
But I don’t know the Visual Basic commands. Would anyone have knowledge of what the code might be?
Thank you for the response. I already have a function in BusObj 6.0 to change my report to Excel, and it does not do what I would like to do. I would rather write my own code to do the job.
I can’t find any of the sample Visual Basic code you are referring to. I would rather have examples of code. Visual Basic code. Maybe they are on the place you referred me to, but I was unable to find them.
There is no “Copy All” method in the Reporter object model. It is possible to simulate it by executing the equivalent menu command, but it is quite problematic … do a search here on BOB for “cmdbars execute” (without quotes) for a number of previous discussions.
Thank you for the reply. The Visual Basic code seems to be very complex, so I believe I will go another avenue; maybe just copy the BO report by hand to Excel, and run a macro in Excel to clean it up.