Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Art Art is offline
external usenet poster
 
Posts: 587
Default Target Frame

Asked this in another forum but no answer so trying here

First, thanks to this group for helping me with my
challenges.

I am publishing a spreadsheet through our intranet. I am
leaving it in XLS format rather than htm because the users
need to be able to save the sheet locally.

In one column I am using the command =hyperlink (a1) to
translate a text link from SQL to a real hyperlink. That
works very well (thanks group)

BUT..... How can I set the target frame reference in the
=hyperlink column so it opens a new window? I cannot seem
to open any command to make it open a new window. When
the user clicks on the link, it prompts them to save the
xls sheet.

Art

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Target Frame

Maybe you could toss the =hyperlink() formula.

then make a doubleclick on the cell launch the link:

Option Explicit
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, _
Cancel As Boolean)

If Target.Cells.Count 1 Then Exit Sub
If Trim(Target.Value) = "" Then Exit Sub

If Intersect(Target, Me.Range("a:a")) Is Nothing Then
Exit Sub
End If

Cancel = True 'stop from editing in cell

ThisWorkbook.FollowHyperlink Address:=Target.Value, NewWindow:=False

End Sub



Art wrote:

Asked this in another forum but no answer so trying here

First, thanks to this group for helping me with my
challenges.

I am publishing a spreadsheet through our intranet. I am
leaving it in XLS format rather than htm because the users
need to be able to save the sheet locally.

In one column I am using the command =hyperlink (a1) to
translate a text link from SQL to a real hyperlink. That
works very well (thanks group)

BUT..... How can I set the target frame reference in the
=hyperlink column so it opens a new window? I cannot seem
to open any command to make it open a new window. When
the user clicks on the link, it prompts them to save the
xls sheet.

Art


--

Dave Peterson

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
Create/Edit Hyperlink - Unable to designate target frame dch3 Excel Discussion (Misc queries) 2 November 14th 08 07:06 PM
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
Enable target frame option Ian Excel Discussion (Misc queries) 0 April 6th 06 05:05 PM
How to attach legend frame to chart frame? holg3r Charts and Charting in Excel 2 July 7th 05 11:41 PM
how to define target frame names for the hyperlinks in Excel Chris Nicholas Excel Programming 0 July 10th 03 03:50 PM


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