View Full Version : HyperLink
CCkfm2000
04-24-2006, 09:07 AM
hi all..
i need to create a hyperlink to open a folder.
thanks
Where do you want to put this hyperlink?
CCkfm2000
04-24-2006, 09:59 AM
i have a speardsheet with lots of spreadsheet file in them.
eg. cell a1 has a label "my files"
i need to click the cell which in turn will open the folder.
thanks
geekgirlau
04-26-2006, 12:17 AM
If you type the UNC path to your folder (for example, \\server\share\myfolder (file://\\server\share\myfolder)), this will automatically create a hyperlink.
Marcster
04-26-2006, 07:35 AM
Range("A1").Hyperlinks.Add Anchor:=Selection, Address:="UNC path here", _
ScreenTip:="Text to display when cursor is over cell", TextToDisplay:="my files"
To insert manually,
Insert > Hyperlink
Marcster.
lucas
04-26-2006, 04:32 PM
or from a button....
Sub ExplorePath()
Shell Environ("windir") & "\Explorer.exe " & "C:\Temp", vbMaximizedFocus
End Sub
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.