Thread: [Solved] FileCopy from a check box
View Single Post
 
Old 11-23-2015, 08:28 AM
shabbaranks shabbaranks is offline Windows 7 64bit Office 2007
Advanced Beginner
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

Got it working:

Code:
Sub CopyDocument()
Dim strSourceFile, StrDestinationFile As String
strSourceFile = "P:\pRINTERS.docx"
StrDestinationFile = ActiveDocument.Path & "\pRINTERS.docx"
FileCopy strSourceFile, StrDestinationFile
End Sub
Just need to link it to the checkbox on the document now
Reply With Quote