Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
gijski gijski is offline
external usenet poster
 
Posts: 2
Default excel--to-excel linked cells not updated in word mailmerge

In workbook 1 I have cells that are linked to cells in workbook 2 (used
'paste link').
In a Word document I'm having fields for mail merging using workbook 1.

The problem is that although everything is set (in Excell) to update
automatically, I still need to open workbook 1 manually first to update the
links to workbook 2.

----

Example:

Workbook 2 contains:
- a cell with the content "hello"

Workbook 1 contains a (pasted) link to that cell.

The Word document has a field pointing to this cell
- when mailmerging, "hello" is displayed

Now I change "hello" into "hi" in Workbook 2.
- when mailmerging in Word, "hello" isn't automatically changed into "hi".

---

I read a similar problem in powerpoint, where this code was used for a macro.
Is this a way to go?

' -= Code starts here =-
Sub Update()
Dim oSl As Slide
Dim oSh As Shape
For Each oSl In ActivePresentation.Slides
For Each oSh In oSl.Shapes
If oSh.Type = msoLinkedOLEObject Then
oSh.LinkFormat.Update
End If
Next
Next
End Sub
' -= Code ends here =-

 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting WordPerfect 12 files to Word 2003 Curious New Users 4 May 19th 23 02:48 PM
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
Linking Text from Excel to Word heyz Microsoft Word Help 9 December 23rd 08 04:58 AM
Why can't I get Multiple instances of word? Laverne Microsoft Word Help 14 November 17th 06 01:35 PM
WP merge file to Word sstires Tables 4 February 14th 06 06:26 PM


All times are GMT +1. The time now is 02:39 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"