Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Run a Word Macro from Excel

Hi I need to run a a word procedure from Excel:
MacroName: "letter1"
Procedure Location: "Normal"
Document Name: "ActiveDocument"

Word will already be active with a new Email, addresses, subject already
filled in. I just need to call "letter1" to insert formatted text in the
body of the message.

Thanks in advance,
--
Regards,
Rocky McKinley



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Run a Word Macro from Excel

I found the answer on Google...

'RUN A WORD MACRO FROM EXCEL WHEN WORD IS ACTIVE
Set WdApp = Word.Application
With WdApp
.Application.Run MacroName:="Normal.NewMacros.letter" & Ans
End With

--
Regards,
Rocky McKinley


"Rocky McKinley" wrote in message
...
Hi I need to run a a word procedure from Excel:
MacroName: "letter1"
Procedure Location: "Normal"
Document Name: "ActiveDocument"

Word will already be active with a new Email, addresses, subject already
filled in. I just need to call "letter1" to insert formatted text in the
body of the message.

Thanks in advance,
--
Regards,
Rocky McKinley





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
Excel to Word Macro Liz J[_2_] Excel Discussion (Misc queries) 1 December 2nd 09 08:27 PM
Using Word from Excel Macro. sharad Excel Discussion (Misc queries) 1 September 17th 07 07:24 PM
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM
Macro - Open Word with Excel macro Bill Excel Discussion (Misc queries) 3 May 23rd 05 11:21 PM
Using Word and Excel in one Macro Ian Belcher[_2_] Excel Programming 2 October 26th 03 01:14 AM


All times are GMT +1. The time now is 01:55 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"