Discussion Locked

Creating links in Word 97

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to create a link in Word 97 that, when clicked on, would bring up Windows explorer in a particular directory, displaying the files in that directory. Can it be done?

12 replies

by alpha-male

Sure it can....

For example if you want to access the data folder in the archive folder on the server named Myserver you would enter:

\\myserver\archive\data

by kinika

I need a full example. This answer did not help me, too cryptic. I need the example in full context of the solution.

by dklippert

Insert a command button or insert a MacroButton field to run this macro as an example:

Sub OpenToAFolder()
'
' Change FILELOCATION in the 2nd line
' to the desired location or
' insert a new path
PresentLocation = Options.DefaultFilePath(wdDocumentsPath)

ChangeFileOpenDirectory "C:\FILELOCATION\"

With Dialogs(wdDialogFileOpen)
If .Display Then
MsgBox "Selected " & .Name
Else
MsgBox "Cancelled"
End If
End With

ChangeFileOpenDirectory PresentLocation

End Sub

by gigelul

OK,
-Suppose that your particular folder was named "DOCS" and is on computer "PC1".
-Also this folder must be shared (depends by your OS). Generaly right clik on this folder and chose "sharing", then enable/customize access for users (or leave "everyone" access).
-In word (in a page) type: \\PC1\DOCS and finish with enter
If this path is correct and exist share DOCS you will have a link to folder DOCS which will display in Explorer the contents of this folder.

by gigelul

These can be applied in a network enviroment or if your computer have an network card correct configured (this is necessary because "sharing" is available only on computers which participate in a network).
If you don't have these options you can make a link to a file only (use from word menu - insert hiperlink - and browse for the file)

by alpha-male

Okay, I'll try this again....

To access a folder from Word (or Outlook, etc) you need to enter the full path to the shared folder on your PC or server using .

For example, let's say you have a Server called Server1 and you want to look at files in the shared "Data" directory (you have to create and share this ahead of time and have the network connection and permissions to view it). The path would be

\\Server1/Data

If you had a folder under data called "Forms", to access that you would enter:

\\Server1/Data/Forms

the \\ signifies that the next word is the name of a machine

after that, the / and directory name are to specify the shared folder to access. If you had a Windows95 box (with shared info) called PC1 and you wanted to access the tools folder, enter:

\\PC1\Tools

you can test this at a DOS prompt, or using the Start > Run and entering the path.

When you enter the path in Word, it should underline it and recognize it as a "link". If this still isn'tclear, open Word, go under help and do a find on Hyperlink or URL. This will give more information...

Hope this helps. Good luck!

This discussion is closed to new replies.