When I run the macro it is giving a compilation error. It is not accepting the GLOBAL declaration.
Iam not good in VBA.
Can anybody advise me in declaring a variablesā¦I tried PUBLIC,
Thanks in advance,
John
I just copied Daveās code into a blank report and it compiled just fine.
That said, this utility that I presented at the User Conference last year that offers an alternative approach to Daveās code. Instead of writing out to text file, the information is recorded in a VBA data provider of a BusObj document. That way you have all of the reporting capabilities of BusObj. You may also have some interest in the code itself as an āacademicā exercise.
Thanks again,
Yes, I was doing that mistake. It is working now, and creating a .csv file. But it has only Headings, no objects or its related data. But i guess I can work on itā¦error log says, the Log file/csv file not foundā¦Thanks
I donāt know why I did it, but I deleted (1) from Set dpCube = DefineCube(dpInterface.DpVBACubes(1)) and ran the script. It failed, so I reinput (1). When I ran the script again there was a message about changing the project, but this time it worked!
Iāve no idea why it now works, maybe you have? Anyway, the bottom line is that it really is a most useful report, so many thanks for this.
If we want to add the SQL for each object to the report, we can run a query against the repository, and link the two queries on Object Name. However, could this be done by adding to the VB script?
I have downloaded this report utility from BOB and am trying to execute the report as per the instructions. For testing purpose i have kept 5 BO rep files in a temp folder and the List Objects Used.rep report.
Upon refreshing BO throws the unhandled exception error moreover on the other hand is some kind of customisation is required to be done to the vb macro code regarding location of the folder?