Solved

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

Posted on 2009-07-07
3
150 Views
Last Modified: 2012-05-07
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
Comment
Question by:morrisbo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
JackOfPH earned 500 total points
ID: 24800141
you can use the function filecopy...
0
 

Author Comment

by:morrisbo
ID: 24800181
JackOfPH

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

MorrisBo
0
 

Author Closing Comment

by:morrisbo
ID: 31600926
Worked just fine.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month6 days, 4 hours left to enroll

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question