Computing.Net > Forums > Programming > macro help(mail merge file save)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

macro help(mail merge file save)

Reply to Message Icon

Name: Jamie
Date: April 2, 2003 at 17:39:53 Pacific
OS: 98
CPU/Ram: unknown
Comment:

I want to be able to add a macro that will work with mail merge to let me save file at end of each form letter merge instead of having one large doc with lots of "letters" (using for contracts). Here is the macro so far. Of course it does not work. I don't know visual basic (learning c++ right now) and I think this can be done.
Sub savedoc()
'
' savedoc Macro
' Macro recorded 4/2/03 by Jamie Smith
'
ActiveDocument.SaveAs FileName:=WANT TO TYPE FILE NAME FileFormat:=
wdFormatDocument , LockComments:=False, Password:="", AddToRecentFiles:= _
True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:= _
False, SaveNativePictureFormat:=False, SaveFormsData:=False, _
SaveAsAOCELetter:=False
End Sub



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: macro help(mail merge file save)

vb: merge and save obj and image? www.computing.net/answers/programming/vb-merge-and-save-obj-and-image/4964.html

Mail Merge using VB www.computing.net/answers/programming/mail-merge-using-vb/14782.html

Opening Word Mail Merge from Access www.computing.net/answers/programming/opening-word-mail-merge-from-access/2345.html