Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Putting a value in Excel into Word

Status
Not open for further replies.

MrsTFB

MIS
Oct 3, 2000
307
US
I've written a macro to send an Outlook message using a Word document as the text of message.
It works great, but each message needs to be unique with a value inside the excel worksheet. I used Microsoft article Q1661812-xl97. It works! But I need the name of the worksheet involved in the message.

Any help appreciated. [sig][/sig]
 
Add something like

& ActiveSheet.Name

to the code that creates the text block for output. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top