Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mark G
 
Posts: n/a
Default Hyperlinks / server / cd

I have a spreedsheet on our Novell server with several hundred hyperlinks. I
want to be able to put this on a CD and all linked files with it so that it
will work from any computer not on the network. Is there a way to do this?
Everytime I try to do this it keeps looking for the server and not the cd.
--
MsG
  #2   Report Post  
Rowan
 
Posts: n/a
Default

Mark

You could try this macro to replace the server path on the hyperlinks with
the CD drive (I have assumed this is D). This is untested so save the file
before running this code.

Sub Hyper_Change()
Dim hpl As Hyperlink
For Each hpl In ActiveSheet.Hyperlinks
hpl.Address = "D:\" & Right(hpl.Address, Len(hpl.Address) _
- InStrRev(hpl.Address, "\"))
Next hpl
End Sub

Hope this helps
Rowan

"Mark G" wrote:

I have a spreedsheet on our Novell server with several hundred hyperlinks. I
want to be able to put this on a CD and all linked files with it so that it
will work from any computer not on the network. Is there a way to do this?
Everytime I try to do this it keeps looking for the server and not the cd.
--
MsG

  #3   Report Post  
Mark G
 
Posts: n/a
Default

Where do I insert the code?
--
MsG


"Rowan" wrote:

Mark

You could try this macro to replace the server path on the hyperlinks with
the CD drive (I have assumed this is D). This is untested so save the file
before running this code.

Sub Hyper_Change()
Dim hpl As Hyperlink
For Each hpl In ActiveSheet.Hyperlinks
hpl.Address = "D:\" & Right(hpl.Address, Len(hpl.Address) _
- InStrRev(hpl.Address, "\"))
Next hpl
End Sub

Hope this helps
Rowan

"Mark G" wrote:

I have a spreedsheet on our Novell server with several hundred hyperlinks. I
want to be able to put this on a CD and all linked files with it so that it
will work from any computer not on the network. Is there a way to do this?
Everytime I try to do this it keeps looking for the server and not the cd.
--
MsG

  #4   Report Post  
Rowan
 
Posts: n/a
Default

Open the Visual Basic Editor from the menu ToolsMacroVisual Basic Editor.
Insert a new module from the menu InsertModule. Paste the code onto the
module sheet that is created.

Go back to your excel file and use the menus to run the macro:
ToolsMacroMacros. Select Hyper_Change and click Run.

Hope this helps
Rowan

"Mark G" wrote:

Where do I insert the code?
--
MsG


"Rowan" wrote:

Mark

You could try this macro to replace the server path on the hyperlinks with
the CD drive (I have assumed this is D). This is untested so save the file
before running this code.

Sub Hyper_Change()
Dim hpl As Hyperlink
For Each hpl In ActiveSheet.Hyperlinks
hpl.Address = "D:\" & Right(hpl.Address, Len(hpl.Address) _
- InStrRev(hpl.Address, "\"))
Next hpl
End Sub

Hope this helps
Rowan

"Mark G" wrote:

I have a spreedsheet on our Novell server with several hundred hyperlinks. I
want to be able to put this on a CD and all linked files with it so that it
will work from any computer not on the network. Is there a way to do this?
Everytime I try to do this it keeps looking for the server and not the cd.
--
MsG

  #5   Report Post  
Mark G
 
Posts: n/a
Default

Thanks for the help. I'll give this a try.
--
MsG


"Rowan" wrote:

Open the Visual Basic Editor from the menu ToolsMacroVisual Basic Editor.
Insert a new module from the menu InsertModule. Paste the code onto the
module sheet that is created.

Go back to your excel file and use the menus to run the macro:
ToolsMacroMacros. Select Hyper_Change and click Run.

Hope this helps
Rowan

"Mark G" wrote:

Where do I insert the code?
--
MsG


"Rowan" wrote:

Mark

You could try this macro to replace the server path on the hyperlinks with
the CD drive (I have assumed this is D). This is untested so save the file
before running this code.

Sub Hyper_Change()
Dim hpl As Hyperlink
For Each hpl In ActiveSheet.Hyperlinks
hpl.Address = "D:\" & Right(hpl.Address, Len(hpl.Address) _
- InStrRev(hpl.Address, "\"))
Next hpl
End Sub

Hope this helps
Rowan

"Mark G" wrote:

I have a spreedsheet on our Novell server with several hundred hyperlinks. I
want to be able to put this on a CD and all linked files with it so that it
will work from any computer not on the network. Is there a way to do this?
Everytime I try to do this it keeps looking for the server and not the cd.
--
MsG

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
Hyperlinks / server / cd Mark G Excel Discussion (Misc queries) 0 April 22nd 05 06:09 PM
SQL Server ODBC Error Art Saffran Excel Discussion (Misc queries) 0 March 24th 05 02:37 PM
hyperlinks following in copies of original file Neat Excel Discussion (Misc queries) 3 February 10th 05 02:28 AM
saved hyperlinks do not keep the file association, all revert to . rjdrw Excel Discussion (Misc queries) 2 January 31st 05 11:51 PM
Hyperlinks Problems mkab Excel Worksheet Functions 0 November 8th 04 09:22 PM


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