Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default How to use hyperlink to chart?

Hi, based on my title, I like to use the hyperlink from a picture that in
worksheet 1, like to link to another worksheet that only have CHART, but when
I do hyperlink, the chart worksheet is not inside it, what should I do?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to use hyperlink to chart?

You cannot hyperlink a chart directly; unless the chart is embedded within a
worksheet in which case you can hyperlink to any cell under the chart. The
only way to achieve this is using a macro. Try the below and feedback

-----Set the Security level to low/medium in (Tools|Macro|Security). From
workbook launch VBE using short-key Alt+F11. From menu 'Insert' a module and
paste the below code. Save. Close the VBE window and get back to Workbook.

Sub GoToMyChart()
Charts("Chartname").Activate
End Sub

------Right click the pictureAssign MacroFrom the list Select GoToMyChart
and click OK. Now try mouse click the shape.


If this post helps click Yes
---------------
Jacob Skaria


"Cloud Strife" wrote:

Hi, based on my title, I like to use the hyperlink from a picture that in
worksheet 1, like to link to another worksheet that only have CHART, but when
I do hyperlink, the chart worksheet is not inside it, what should I do?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to use hyperlink to chart?

Forgot to mention that you need to edit the name within double quotes.. The
actual name should be within double quotes

Sub GoToMyChart()
Charts("Chartname").Activate
End Sub

--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

You cannot hyperlink a chart directly; unless the chart is embedded within a
worksheet in which case you can hyperlink to any cell under the chart. The
only way to achieve this is using a macro. Try the below and feedback

-----Set the Security level to low/medium in (Tools|Macro|Security). From
workbook launch VBE using short-key Alt+F11. From menu 'Insert' a module and
paste the below code. Save. Close the VBE window and get back to Workbook.

Sub GoToMyChart()
Charts("Chartname").Activate
End Sub

------Right click the pictureAssign MacroFrom the list Select GoToMyChart
and click OK. Now try mouse click the shape.


If this post helps click Yes
---------------
Jacob Skaria


"Cloud Strife" wrote:

Hi, based on my title, I like to use the hyperlink from a picture that in
worksheet 1, like to link to another worksheet that only have CHART, but when
I do hyperlink, the chart worksheet is not inside it, what should I do?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default How to use hyperlink to chart?

I'm using Office 2007, can I know where to set the security level for the
macro?
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to use hyperlink to chart?

On the Developer tab, click the Macro Security button in the Code group. The
Trust Center dialog box appears with the Macro Settings tab selected. Enable
macros..OK

If this post helps click Yes
---------------
Jacob Skaria


"Cloud Strife" wrote:

I'm using Office 2007, can I know where to set the security level for the
macro?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default How to use hyperlink to chart?

Thanks for your help~
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
Hyperlink FROM chart (and PDF) SteveG[_4_] Charts and Charting in Excel 0 March 19th 09 07:54 AM
Hyperlink to a chart Sarah G Excel Discussion (Misc queries) 2 August 5th 08 11:25 PM
Hyperlink to a chart Sarah G Excel Worksheet Functions 0 August 4th 08 11:35 PM
hyperlink to chart rexmann Excel Discussion (Misc queries) 0 August 20th 07 11:54 AM
Hyperlink to a chart... George Excel Discussion (Misc queries) 3 January 17th 05 03:32 PM


All times are GMT +1. The time now is 03:15 PM.

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

About Us

"It's about Microsoft Excel"