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     Can you preserve a macro by appending to an excel spreadsheet

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Can you preserve a macro by appending to an excel spreadsheet
 Login/Join
 
Member
posted
I have a spreadsheet that formats a character in my FEX output to an Alt+Enter to force carriage-returns in the cells. If I saved this macro to an "empty" spreadsheet and wrote (APPEND? my weekly updates to this file, could I preserve and thus use, my macro? If so, please do tell ...Thanks
 
Posts: 7 | Registered: September 08, 2006Report This Post
Expert
posted Hide Post
I don't believe that you can do that, however you can create your Excel file as a Web archive (.mht) and then save your output to that. There are several posts that tell you how.

One thing to remember is that the Web archive must have at least two worksheets within it. I use this method to control all the formatting of a worksheet including print areas, zoom levels, borders, column widths etc. etc. I follow all the formatting up with a deletion of the worksheet that is not required so that the final Excel workbook has only the one sheet.

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
Member
posted Hide Post
Thank-you for the suggestion. Do you have any sample code I could see? Im currently on v 5.2.4 do you know if the method you're referring to would be supported in my version?
 
Posts: 7 | Registered: September 08, 2006Report This Post
Expert
posted Hide Post
You need version 7.1 to be able to take advantage of Excel templates (web archives).

For examples use the find function and search on "web archive".

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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Can you preserve a macro by appending to an excel spreadsheet

Copyright © 1996-2020 Information Builders