View Single Post
 
Old 05-25-2012, 09:47 AM
RDKells RDKells is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: May 2012
Posts: 6
RDKells is on a distinguished road
Default

I copied this:

Code:
Private Sub CommandButton1_Click()
    Documents.Add Template:= _
        "
Private Sub CommandButton1_Click()
    Documents.Add Template:= _
        "
Private Sub CommandButton1_Click()
    Documents.Add Template:= _
        "C:\MY FILE", _
         NewTemplate:=False, DocumentType:=0
 
End Sub
Private Sub Document_New()
End Sub
From a document that is used for the similar properties of opening a few word documents. So I just copied it and edited the macro for my file locations, but it doesn't work for me .

All I want it to do is; when I click the button, it then opens the 10 templates (as new word documents). Please could you help? How do I create command buttons?

Thanks,
Ryan.
Reply With Quote