Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problem with FollowHyperlink and Firefox

This macro takes active cell value and adds to a link and then opens
it in the default browser, it works fine with IE.
But with Firefox the link becomes, "http://www.rcdb.com/qs.htm?
quicksearch=JetlineFirefoxHTML\Shell\Open\Command" .

Sub rcdb_check()
Dim RCDBCLINK As String
RCDBCLINK = "http://www.rcdb.com/qs.htm?quicksearch=" &
ActiveCell.Value
ActiveWorkbook.FollowHyperlink Address:=RCDBCLINK, NewWindow:=True
End Sub

Does anybody have a solution for this or a alternative code?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Problem with FollowHyperlink and Firefox

This works for me with FireFox (and Opera for that matter).

Private Sub CommandButton1_Click()
Const HLINKBASE As String = "http://www.rcdb.com/qs1.htm?quicksearch="

Range("A1").Value = "Kingda Ka"
ActiveWorkbook.FollowHyperlink Address:=HLINKBASE & Range("A1").Value,
NewWindow:=True

End Sub

NickHK

wrote in message
oups.com...
This macro takes active cell value and adds to a link and then opens
it in the default browser, it works fine with IE.
But with Firefox the link becomes, "http://www.rcdb.com/qs.htm?
quicksearch=JetlineFirefoxHTML\Shell\Open\Command" .

Sub rcdb_check()
Dim RCDBCLINK As String
RCDBCLINK = "http://www.rcdb.com/qs.htm?quicksearch=" &
ActiveCell.Value
ActiveWorkbook.FollowHyperlink Address:=RCDBCLINK, NewWindow:=True
End Sub

Does anybody have a solution for this or a alternative code?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problem with FollowHyperlink and Firefox

Seems to be some problem with FireFox portable installation, mine and
your code worked fine on a another computer. Thanx!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Problem with FollowHyperlink and Firefox

Just tried it with it the portable version and still works fine.
Sure it not case of the ActiveCell.Value not being waht you expect ?

NickHK

wrote in message
ps.com...
Seems to be some problem with FireFox portable installation, mine and
your code worked fine on a another computer. Thanx!




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
How do i save a file as htm that can be read by Firefox? istevenson0 Excel Discussion (Misc queries) 1 September 17th 09 10:02 PM
Make Excel use Firefox QTGlennM Excel Programming 1 July 28th 06 04:56 AM
Embedding Excel in IE and Firefox Erich Neuwirth Excel Programming 0 August 10th 05 08:36 AM
control mozilla firefox Mark Roth Excel Programming 1 January 28th 05 06:41 AM
Web Import via Firefox Daniel Vandersluis Excel Programming 0 January 7th 05 12:30 AM


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