Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default create link to another 'place in this document'

The function I want is the same as if you select a cell, right mouse, select
Hyperlink... and then choose "Place in this document".

The Hyperlinks.Add method does not have a type and the link created appears
to be external only.

I thought about just copying an existing cell with such a link already
created and changing the Address but ... the Address property is EMPTY for
these types of links.

At a loss.

--
Using multiple environs but usually:
Office 2007 on WinXP Pro SP3
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default create link to another 'place in this document'

Hi,

Maybe this

ActiveSheet.Hyperlinks.Add Anchor:=Range("A1"), Address:="", _
SubAddress:="Sheet3!A1", TextToDisplay:="MyText"

Mike

"herefroggy" wrote:

The function I want is the same as if you select a cell, right mouse, select
Hyperlink... and then choose "Place in this document".

The Hyperlinks.Add method does not have a type and the link created appears
to be external only.

I thought about just copying an existing cell with such a link already
created and changing the Address but ... the Address property is EMPTY for
these types of links.

At a loss.

--
Using multiple environs but usually:
Office 2007 on WinXP Pro SP3

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default create link to another 'place in this document'

Well are you clever. ;)

Thanks for the undocumented feature.

--
Using multiple environs but usually:
Office 2007 on WinXP Pro SP3
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 to a specific place in a document Al Excel Worksheet Functions 3 June 29th 09 05:53 PM
How do I place shortcut to a particular document on my desktop? Tina Excel Discussion (Misc queries) 2 January 23rd 08 05:57 PM
How do I place shortcut to a particular document on my desktop? Tina Excel Discussion (Misc queries) 0 January 23rd 08 02:17 AM
How to create link b/n Excel worksheet (cell) and Word document? Irina Excel Worksheet Functions 3 September 8th 07 07:22 AM
How to create a formatted 'readable' document based on Excel document? [email protected] Excel Discussion (Misc queries) 0 June 23rd 06 06:09 PM


All times are GMT +1. The time now is 10:10 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"