Solved

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

Posted on 2009-07-07
3
145 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now