Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A macro in Excel has the following code to create a hyperlink.
Range("A" & Row).Select ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _ "\\S10AC52B\Eng\SCN\" & SCNFile, TextToDisplay:= _ "" & SCNNumber where the variable SCNFile is the name of the workbook like "MyBook.xls" and SCNNumber looks like "MyBook". The code works fine when ran in Excel 2000 and gives a valid hyperlink address of \\S10AC52B\Eng\SCN\MyBook.xls BUT when ran in a version of Excel 2002 the link has the address of "..\..\Eng\SCN\MyBook.xls" which of course does not exist. Anyone have an idea of how or why Excel changed the link address? Or how to correct it programmatically? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel2002 | Setting up and Configuration of Excel | |||
Excel2000/2002 migration problem | Excel Discussion (Misc queries) | |||
Problem with calling Excel2000 addin in ExcelXP | Excel Programming | |||
Excel2000 VB Help Problem! | Excel Programming |