Thread: [Solved] FileCopy from a check box
View Single Post
 
Old 11-23-2015, 08:22 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

Getting closer, what I would like to do is use the active document path as the destination

Code:
Sub CopyDocument()
Dim SourceFile, StrDestinationFile As String
SourceFile = "pRINTERS.docx" 
StrDestinationFile = ActiveDocument.Path
FileCopy "P:\pRINTERS.docx", StrDestinationFile
End Sub
Reply With Quote