Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2005, 05:46 AM
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need Help In Mail Merge

Hi all,

Not sure if this is the correct place to post this, but here goes anyway.

I'm performing a basic a mail merge from Sql Server into Word, creating the merge document on the fly in C# with Office 2003. This isn't a problem, as I can run right through and execute the merge successfully.

What I want be be able to do in addition, is carry out a merge to generate a letter template, and then leave word open to fillout the contents of the letter (ie. set up the datasource and some basic formatting, and then leave Word with the pre-merged document to add the content).

Now I thought this would be simple, and it is (in essence), but for some reason, when I specify a data source in c#, Word decides that I don't want any menus or toolbars anymore, and I can't find a way of getting them back. As a result, I have no way of formatting the letter or carrying out the merge!

Is there any way to restor toolbars (looked through the Word object browser, and can't find anything suitable).

Any help much appreciated

Raghu






Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Problem prasanta2expert Access VBA 2 April 26th, 2011 03:23 AM
mail merge from access dfisher BOOK: Access 2007 VBA Programmer's Reference ISBN: 978-0-470-04703-3 1 October 17th, 2008 08:09 PM
Mail Merge in Web aspBegineer83 ASP.NET 2.0 Basics 12 January 4th, 2008 06:00 PM
ASP-XML Mail Merge jfn12587 Classic ASP XML 1 January 11th, 2006 07:16 AM
mail merge from query nabrown78 Access VBA 3 April 4th, 2005 08:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.