Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Virgil
 
Posts: n/a
Default Mail Merge VBA problem in Word/Access 2003

Folks, I'm tearing my hair out trying to find out WHY this
VBA code doesn't merge data into a Word 2003 template! The
code is used in an Access 2002 database. The variables are
fine. It creates an active document from a template but
it does NOT merge the data.

With gappWord
..Selection.WholeStory
..Selection.Fields.Update
..Selection.HomeKey Unit:=wdStory
..ActiveDocument.SaveAs gstrJobsheetsPath & strNewFileName
..Visible = True
..ActiveWindow.WindowState = wdWindowStateMaximize
..Activate
End With
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Word 2003 Issue S.Nicks Mailmerge 5 February 20th 09 01:55 AM
Mail Merge Final Step in Word 2003 XP blnorwood Mailmerge 2 January 14th 05 06:02 AM
Word-Excel 2003 - Mail Merge Recipients problem AYager Mailmerge 2 January 11th 05 04:11 AM
Exchange 2003 - Outlook 2003 - Word 2003 mail merge Micheline Mailmerge 1 December 2nd 04 11:51 AM
Mail Merge Problem Cindy M -WordMVP- Mailmerge 0 November 30th 04 05:25 PM


All times are GMT +1. The time now is 07:14 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"