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     (CLOSED)Excel template with VLOOKUP on worksheet 1

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(CLOSED)Excel template with VLOOKUP on worksheet 1
 Login/Join
 
Platinum Member
posted
I can load data into an excel template to populate it with the formatting desired.

I want to populate worksheet 2 AND use the VLOOKUP and sums on the template worksheet1 tab. [I have searched for the entire here and on the 'www'.] The issue is keeping the VLOOKUPS in the template.

Can anyone shed some light on this for me?
Thanks!

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


WebFOCUS 8.1.05 Windows 7, all output
 
Posts: 107 | Registered: February 18, 2011Report This Post
Virtuoso
posted Hide Post
Is that an EXL07 template?

We use those templates with EXL07 with VLOOKUP in several reports, so it does work.

There's probably something about the way you go about it that it doesn't work for you, so perhaps you should explain what you're doing? Wink

There are some examples of using EXL07 templates in these forums that should be useful to your case. For example: http://forums.informationbuild...257083336#6257083336


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Platinum Member
posted Hide Post
I am sorry I didn't specify: We use EXL2K.


WebFOCUS 8.1.05 Windows 7, all output
 
Posts: 107 | Registered: February 18, 2011Report This Post
Platinum Member
posted Hide Post
 
TABLE FILE GGSALES
SUM
     DOLLARS
     BUDDOLLARS
BY REGION
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'rm_mysheet' SHEETNUMBER 2
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
$
TYPE=TABHEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=TABFOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=HEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=SUBHEAD,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBFOOT,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBTOTAL,
     BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
     SIZE=9,
$
TYPE=ACROSSTITLE,
     STYLE=BOLD,
$
TYPE=GRANDTOTAL,
     BACKCOLOR=RGB(210 210 210),
     STYLE=BOLD,
$
ENDSTYLE
END
-RUN

I cannot get the formula to work.
I created a template by
-Running the above as a normal excel file.
-I then copied it to worksheet 2.
-I added the formula to worksheet 1 in column D3 through D6 to add the column B and C on worksheet 2.
-The formula worked in the excel file.
-I then saved that as a template [rm_mysheet.mht].

When I run the above fex, the summation values are just 0's and there is no formula to add worksheet 2 values.

Thanks!
Marilyn

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


WebFOCUS 8.1.05 Windows 7, all output
 
Posts: 107 | Registered: February 18, 2011Report This Post
Expert
posted Hide Post
Marilyn,

What version of MS Excel did you use to save the MHT file?

If it's not 2003 then you have found the reason why some companies still hold on to a single copy of Excel 2003 - just to amend templates!

MicroSoft, very kindly, decided to stop support of macros in single page web archives such that when you save as an MHT in Excel 2007+ you lose the macro code.

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
Platinum Member
posted Hide Post
Aha! I created the template using Excel in Microsoft Office Professional Plus 2010!

That is exactly what I am seeing in the template. A VLOOKUP or SUM of data on another page isn't exactly a macro. But I get the point.

Thanks!


WebFOCUS 8.1.05 Windows 7, all output
 
Posts: 107 | Registered: February 18, 2011Report 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     (CLOSED)Excel template with VLOOKUP on worksheet 1

Copyright © 1996-2020 Information Builders