Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED by case] strange behaviour with excel template pivot table and IE 7

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED by case] strange behaviour with excel template pivot table and IE 7
 Login/Join
 
Platinum Member
posted
Hi Everyone

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

Jodye

This message has been edited. Last edited by: Kerry,


WF 8.0.0.5M
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Expert
posted Hide Post
Hi All,

FYI, Jodye has a case opened regarding this issue, and additional research seems to indicate that this is more a Microsoft issue.

Please check the following:

http://support.microsoft.com/d...scid=kb;en-us;211912
http://support.microsoft.com/d...scid=kb;en-us;831929

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED by case] strange behaviour with excel template pivot table and IE 7

Copyright © 1996-2020 Information Builders