Focal Point
[SOLVED] Creating a Hyperlink that References Another Tab from within an Excel Workbk

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9517028026

June 01, 2012, 06:36 PM
MCKELPA99
[SOLVED] Creating a Hyperlink that References Another Tab from within an Excel Workbk
Does anyone know the syntax for creating a hyperlink in a mult-tab Excel report that can reference another one of the tabs in the Excel workbook, if this can be done?
For example, I want to create an Excel report that opens into a workbork (with multiple tabs). I want to create a hyperlink on the first tab that can reference another tab within the workbook.

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


WebFOCUS 7.7.02
Unix
All Output
June 01, 2012, 06:52 PM
Waz
I posted a solution to this only a couple of weeks ago


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 02, 2012, 02:22 PM
Danny-SRL
A page from Waz's notebook!
  
-SET &ECHO=ALL;
-* File LinkXL.fex
SET COMPOUND = OPEN

TABLE FILE CAR
PRINT 
COMPUTE CTYLINK/A50 = '<a href="#''' || COUNTRY || '''!A1">' || COUNTRY || '</a>' ;
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
 TITLETEXT='Countries', $
ENDSTYLE
END

SET COMPOUND = BYTOC CLOSE
DEFINE FILE CAR
PG1/A50='<a href="#''Countries''!A1">' || 'Countries' || '</a>' ;
END

TABLE FILE CAR
PRINT CAR MODEL
BY COUNTRY
FOOTING
"<PG1 "
ON TABLE PCHOLD FORMAT EXL2K
END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

June 04, 2012, 11:41 AM
MCKELPA99
Waz, thanks for your reply. Can you please repost your solution or let me know what I should search for to find it.


WebFOCUS 7.7.02
Unix
All Output
June 04, 2012, 12:00 PM
MCKELPA99
Waz, I see that Danny-SRL has posted it. I will test it.


WebFOCUS 7.7.02
Unix
All Output
June 04, 2012, 05:37 PM
Waz
You know, its posted in the forum.

A quick search for "hyperlink" and "excel" would have given you the original post.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 08, 2012, 06:14 PM
MCKELPA99
My test of it works fine. Thanks for your help.


WebFOCUS 7.7.02
Unix
All Output