Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default wrong Hyperlink-Values

Hi all,

I have a very strange effect with some Hyperlinks.

I've created a list of my DVDs and lets say in column B I'm saving hyperlinks to IMDB.
I'm opening this Hyperlinks in a macro (FollowHyperlink) but sometimes Excel opens the wrong site.

I've debugged the code and found out that Excel gives me a wrong Address for this hyperlink:

Sheets("Movies").Cells(1, 2).Hyperlinks(1).Address has a wrong value.

But if I move the mouse over Cell(1,2) the tooltip shows the correct address and then, if I run the macro again (without changing
something!!! I've just moved the mouse over the cell!!!), everything goes fine and Excel opens the correct site.

Any ideas?

Kind regards,

Rainer

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default wrong Hyperlink-Values

On Jul 7, 1:11*am, "Rainer Bielefeld" wrote:
Hi all,

I have a very strange effect with some Hyperlinks.

I've created a list of my DVDs and lets say in column B I'm saving hyperlinks to IMDB.
I'm opening this Hyperlinks in a macro (FollowHyperlink) but sometimes Excel opens the wrong site.

I've debugged the code and found out that Excel gives me a wrong Address for this hyperlink:

Sheets("Movies").Cells(1, 2).Hyperlinks(1).Address has a wrong value.

But if I move the mouse over Cell(1,2) the tooltip shows the correct address and then, if I run the macro again (without changing
something!!! I've just moved the mouse over the cell!!!), everything goes fine and Excel opens the correct site.

Any ideas?

Kind regards,

* Rainer


If you change the Name in B1, the HyperLink code would have to run
again to get the correct address.
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 is opening file with wrong program Jordan Excel Discussion (Misc queries) 0 November 20th 07 06:07 PM
Scenario returns wrong values Maurice Excel Discussion (Misc queries) 0 October 23rd 07 03:12 PM
Wrong result on dividing 2 values Kyle Excel Worksheet Functions 1 February 8th 07 09:58 AM
Wrong Hyperlink location after sorting Lawulm Excel Discussion (Misc queries) 6 November 17th 06 05:30 PM
Getting wrong values PW Excel Worksheet Functions 5 August 14th 06 11:01 PM


All times are GMT +1. The time now is 09:50 PM.

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"