Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2013, 07:58 AM
Cosmo Cosmo is offline Application.Dialogs - Show mail merge 'Select Recipients" dialogs Windows Vista Application.Dialogs - Show mail merge 'Select Recipients" dialogs Office 2007
Competent Performer
Application.Dialogs - Show mail merge 'Select Recipients" dialogs
 
Join Date: Mar 2012
Posts: 220
Cosmo is on a distinguished road
Default Application.Dialogs - Show mail merge 'Select Recipients" dialogs

I'm trying to build a custom scripted mail merge, and I want to display the dialogs at specific places to allow the user to select the data source:




The following seems to bring up the correct dialog when using an existing source:

application.dialogs(wdDialogMailMergeOpenDataSourc e).show

But, the dialogs to either create a new source (wdDialogMailMergeCreateDataSource) or use the contacts list (wdDialogMailMergeUseAddressBook) are not the same dialogs that are used by the 2007/2010 application when selected via the UI commands. The Address Book one in particular, doesn't allow selecting a contact list, but comes up with a dialog that says 'Recover Text from Any File'.

Is there a way to run this functionality from VBA? Unless I'm missing something, I don't see the methods in the document.mailMerge object to do so either.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application.Dialogs - Show mail merge 'Select Recipients" dialogs mail merge multiple recipients per page bmobrien Mail Merge 3 02-23-2012 10:47 PM
Application.Dialogs - Show mail merge 'Select Recipients" dialogs Mail Merge Recipients List TanMan Mail Merge 1 10-13-2011 06:36 PM
There are too many find public folders dialogs open. You must close them in order to asiatic Outlook 1 01-08-2011 10:56 AM
Cannot see all recipients in "to" field in new mail message (Outlook 2007) sinjinx Outlook 0 12-15-2010 08:13 AM
"Microsoft Excel Application" missing in the "Component Services" on win08 sword.fish Excel 0 02-26-2010 02:09 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 03:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft