As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have a report that outputs to an excel template. Inside the excel template there is a macro that is fired on Workbook_Open. This macro takes the raw data from the extract and creates a pivot table on a separate sheet in the file.
As you know, when a report outputs to excel, the user gets the option to save or run the file.
In Firefox everything works perfectly.
In IE (ver 7), if I save the file locally and then open the file, it works perfectly.
However with IE, if I select "open" from the IE dialogue box (so it is not explicitly saved locally before opening it), then the macro fails. The raw data is present, but the pivot table is not created.
Debugging has revealed that it is this line that is crashing....
Set pt = PTCache.CreatePivotTable(TableDestination:=PTOutput.Cells(1, 1), _
TableName:="SamplePivot")
it gives this error... "run time error 5... invalid procedure call or argument".
In addition, if I manually try to create a pivot table outside of the VBA code using the Pivot Table wizard, that does not work either. There is no error message, but nothing happens. The pivot table is never created. This is not a VBA bug of any kind.
Anybody see this before? It is not a huge problem since we always tell people to save the file before opening it anyway, but I would like to know what is going on.
Thanks
JodyeThis message has been edited. Last edited by: Kerry,