Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
hkappleorange
 
Posts: n/a
Default PIVOT TABLE + HYPELINK: Mission Impossible ?

IN PIVOT TABLE, I WANT ONE OF THE ROW FIELDS TO BECOME ALL HYPERLINK. IS
THIS POSSIBLE ??

ALSO CAN WE MAKE THE VALUES HYPERLINK TOO ??


Example, the role field is fruits. Page field is country.
For US, we have orange, apple. For UK we have pears and lemon.
The fruits need to be hyperlinked. Eg apple is underlined and hyperlinked
and when users select US, both apple and orange are clickable and when users
click on apple it takes him to the page describing what apple is (of course
in reality it is not apple but something else).


  #2   Report Post  
Ed Ferrero
 
Posts: n/a
Default

Hi hkappleorange,

You might try using a worksheet change event to select a range
based on the row field data.

Something like this will work if you set ranges named 'apple' etc
in the workbook. Put the code in the code page for the worksheet
that holds your pivot table.

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
' change the column no that of the pivot table row field
If Target.Column = 1 Then
' select a range named same as row field value
Range(Target.Value).Select
End If
End Sub

You may need to include a bit of error trapping :^)

Ed Ferrero
http://edferrero.m6.net/

THIS POSSIBLE ??

ALSO CAN WE MAKE THE VALUES HYPERLINK TOO ??


Example, the role field is fruits. Page field is country.
For US, we have orange, apple. For UK we have pears and lemon.
The fruits need to be hyperlinked. Eg apple is underlined and hyperlinked
and when users select US, both apple and orange are clickable and when
users
click on apple it takes him to the page describing what apple is (of
course
in reality it is not apple but something else).




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
updating pivot table to include additional rows Ellen Excel Discussion (Misc queries) 8 July 15th 08 01:33 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM
Pivot Table - Multiple consolidation Range tengreen Excel Worksheet Functions 1 July 1st 05 07:18 PM
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM


All times are GMT +1. The time now is 03:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"