Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default Mailmerge from excel button

Hi,
I have a macro in word that create a mailmerge. I would like to execute this
Macro from excel button. Also, the excel file contains all the merge data
used by Word.

I tried to open the word mailmerge document in excel by since it is linked
to the actual excel data, it must close excel workbook and re-open it. This
stop the macro.

So, I would like to do the following:
1- In excel, there is a sheet which contains the merge data
2- You click on a button Excel and select the mailmerge document
3- Save the excel workbook to a temporary file #2 and close the file #1 (if
required) ?? (stop macro execution)
4- Open the word document and set the word data merge equal excel data merge
5- Execute the word macro inside word to create the printmerge.

From this way, since the mailmerge is a Macro from Word, it can be executed
from excel or word. Is this, the best way to proceed ? Does anyone have a
code that do something like that ?

Thanks ;)
--
Alex St-Pierre
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I perform mailmerge in Excel Miki Excel Discussion (Misc queries) 1 February 22nd 07 02:08 AM
Mailmerge from a button in excel stevew Excel Programming 8 March 6th 06 08:33 PM
can i use mailmerge to in excel like you would in word? acain1711 Excel Discussion (Misc queries) 3 February 7th 06 11:45 AM
Mailmerge in Excel? beginner Excel Programming 1 April 9th 04 05:44 PM
VBA mailmerge from Excel Dave Baxandall Excel Programming 0 October 15th 03 04:35 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"