View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cadwan Cadwan is offline
external usenet poster
 
Posts: 3
Default Hyperlinks keep changing

I'm using a VB Macro to enter Hyperlinks in an Excel spreadsheet, on the
server, but when I copy the server spreadsheet to local stations the
hyperlink path becomes unusable. Why do these hyperlinks keep changing?
Anybody?

Code example:
PO_Filename = "\\server01\server\00-Purchase Orders\" & PO_PONo & _
"-" & PO_ordnam & "-" & PO_Vendnam & ".xls"
With Worksheets(1)
.Hyperlinks.Add Anchor:=.Range(cell_no), _
Address:=PO_Filename, _
ScreenTip:=PO_Filename, _
TextToDisplay:=PO_PONo
End With
--
http://www.fyi.bz