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] Excel Template with macros does it work in Excel 2007

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Excel Template with macros does it work in Excel 2007
 Login/Join
 
Silver Member
posted
Hello everyone
I have tried to follow Mario's sample and create an mht with macros to use as a template to be able to update in WebFOCUS from Excel.
It seems like this doesn't work anymore.

When i open the .XLS (i developed it in) it works fine except i don't get any data.
When i save as mht i get a warning with a Help
button;
Pressig that and reading, I find the following:
These Web Page file formats (.htm, .html), Single File Web Page file formats (.mht, .mhtml) can be used for exporting Excel data. In Office Excel 2007, worksheet features (such as formulas, charts, PivotTables, and Visual Basic for Application (VBA) projects) are no longer supported in these file formats, and they will be lost when you open a file in this file format again in Excel.

So, i must convert this to VB.NET i guess or abandon this project completely.
Am i right or am i doing it wrong?
Best regards,
Mats

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


Mats Sundelin
Cybernetics Business Solutions AB
 
Posts: 31 | Location: Stockholm, sweden | Registered: January 19, 2005Report This Post
<JG>
posted
Mats

It works perfectly in Excel 2007 and 2010

However YOU MUST create the template in Excel 2003.
And the output format MUST be EXL2K not EXL07
 
Report This Post
Expert
posted Hide Post
Mats,

In Office 2007 onwards, Microsoft are no longer supporting macros etc. in MHT files as you have found.

However, I recently wrote an article that will allow you to overcome this in the interim until IB provide that ability using MS 2007+.

You can find the article and example code etc. here.

Good luck.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Silver Member
posted Hide Post
Thank you Tony.
I will jump into it right away.
Best regards, Mats


Mats Sundelin
Cybernetics Business Solutions AB
 
Posts: 31 | Location: Stockholm, sweden | Registered: January 19, 2005Report 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] Excel Template with macros does it work in Excel 2007

Copyright © 1996-2020 Information Builders