Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-07-07
3
Medium Priority
?
151 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Suggested Courses

719 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