Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Can Excel Execute a Word Document and Insert Data?

Is there a way to click on a part number in a list in Excel that will open a
Word document that contains a form letter with the part number inserted that
was originally selected in the Excel list? I thought of hyperlinks from a
mail merge, but the list contains about 8000 part numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default Can Excel Execute a Word Document and Insert Data?

You could use a Selection Change event to pick up the contents of a newly
selected cell and then execute some code to open the word document and
insert the value

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
MsgBox Target.Address & " = " & Target.Value
End Sub

You could restrict the event to a single column or even a range ... or you
could manually execute a macro having selected the data.

I think the easiest way is to have bookmarks in the word document where you
want to add data.

Regards

Trevor


"Shazam" wrote in message
...
Is there a way to click on a part number in a list in Excel that will open
a
Word document that contains a form letter with the part number inserted
that
was originally selected in the Excel list? I thought of hyperlinks from a
mail merge, but the list contains about 8000 part numbers.



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
Insert Excel hyperlink to word document BHalberstater Excel Worksheet Functions 0 April 26th 06 08:54 AM
Want to insert Excel sheet in Word document - comes out too big. Chicago Excel Discussion (Misc queries) 4 March 30th 06 11:52 PM
Can I insert a word document into a new excel file ? Robyn78 Excel Discussion (Misc queries) 2 August 2nd 05 08:43 PM
Help, insert a word document contents into excel tab? Dan Ward Excel Discussion (Misc queries) 2 December 15th 04 12:01 AM
insert multiple page Word document into Excel S.W. Excel Discussion (Misc queries) 2 December 7th 04 11:29 PM


All times are GMT +1. The time now is 03:05 PM.

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"