[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

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
0
morrisbo
Asked:
morrisbo
  • 2
1 Solution
 
JackOfPHCommented:
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now