Macro to display mail merge task pane

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I am setting up an index document that can take users straight to the
documents that they need to use.
I've added a command button. Then recorded macro using the wizard and copied
into the command button code.
This just opens up the correct document with correct mail merge source. I
then realised that it would be better if mail merge task pane was open, so
recorded macro and added to command button code. This bit doesn't work
Help please - what do I need to do?
 
I don't know what you have now but try to insert this code line instead:

Application.TaskPanes(wdTaskPaneMailMerge).Visible = True

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top