make a copy of a word document under a new name in vb6

I am using an ocx to manipulate word documents from within vb6.  Unfortunately, there is no function to copy a word document creating the same document under a different name.  There is a function to copy text information to an existing word file.  I need this to be able to create a "template" document to perform mail merge functions, and also to move data to the beginning of the second document, such as name / address information.

Thanks for any help here.

MorrisBo
morrisboAsked:
Who is Participating?
 
JackOfPHConnect With a Mentor Commented:
you can use the function filecopy...
0
 
morrisboAuthor Commented:
JackOfPH

Thanks, I will give it a try.  Seems so simple, guess I thought filecopy was for text type files.  

MorrisBo
0
 
morrisboAuthor Commented:
Worked just fine.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.