Like I said, I would recommend that you save this document as a template,
and create the
macro in the template and change its name to Sub Autonew()
Then when you create a new document from that template, the macro will run.
To hard code the folder location, replace
'let user select a path
With Dialogs(wdDialogCopyFile)
If .Display() <> -1 Then Exit Sub
MyPath = .Directory
End With
'strip quotation marks from path
If Len(MyPath) = 0 Then Exit Sub
If Asc(MyPath) = 34 Then
MyPath = Mid$(MyPath, 2, Len(MyPath) - 2)
End If
with
MyPath = "Drive:\Folder\"
If you save the document as a template as I recommend, then you could also
have a macro in that template that opened the selected file
Dim myfile As String
myfile = Selection.Paragraphs(1).Range.Text
Documents.Open "Drive\Folder\" & myfile
Where "Drive\Folder\" are the same as used in the code above.
To apply a particular font, use
With ActiveDocument.Tables(1).Cell(1, 1).Range.Font
.Name = "Arial"
.Size = 10
End With
Change the name of the font and the size to those that take your fancy.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Ok,
>
[quoted text clipped - 45 lines]
>> updated
>> each time.
lorne17 - 28 Apr 2008 16:02 GMT
I am so sorry to keep bothering you on this matter. I really appreciate
the help.
I tried replacing that code with: MyPath = "Drive:\Folder\"
But it doesn't work. When I place my path in there, it runs the macro
with no errors and acts as if it's working, and flashes the highlighted
selection in my table. But doesnt' insert any file names? Any reason
why this is?
This is what I have:
> Sub Autonew()
>
[quoted text clipped - 23 lines]
>
> End Sub
With that said, what is wrong with it? Anything you see?
Also, regarding your suggestion for making this a template file. We'll
never need to use this macro on another file. I just wanted it to run
when I open the current document not a new document with this template
file. Does that make sense?
Also what's the code to make the font bold? I tried: .Style = Bold.
Didn't work :P
I assume, there is no way to make the file names in the list links to
each individual file?
Thanks again!! You really are a HUUUGE HELP :)
Lorne
Doug Robbins - Word MVP;2742110 Wrote:
> Like I said, I would recommend that you save this document as a
> template,
[quoted text clipped - 99 lines]
> updated
> each time.

Signature
lorne17
Doug Robbins - Word MVP - 29 Apr 2008 12:28 GMT
This line of code:
MyPath = "O:\Detail-Standards\Revit How To\Video Tutorials"
should be:
MyPath = "O:\Detail-Standards\Revit How To\Video Tutorials\"
That is, it must terminate in a path separator \

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> I am so sorry to keep bothering you on this matter. I really appreciate
> the help.
[quoted text clipped - 157 lines]
>> updated
>> each time.
lorne17 - 29 Apr 2008 18:04 GMT
Awesome thanks for the help. I figured out the bold too:
.Bold = True
I think we have it to our liking. If anyone knows how to make i
automatic upon opening that would be best.
Thanks for the patience and help.
Lorne
Doug Robbins - Word MVP;2745679 Wrote:
> This line of code:
>
[quoted text clipped - 122 lines]
> Change the name of the font and the size to those that take your
> fancy.

Signature
lorne17