![]() |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hi
I am using the include picture function in my mailmerge document to link to a microsoft visual studio report. The report has a parameter which is a mergefield from the word document. I have managed to get the document to merge and to update the first picture successfully using the macro "ActiveDocument.Fields.Update" The problem i'm having is that when more that one record is merged producing more than 1 picture only the first one is updated and the rest of the pictures are a replica of the first. I am able to manually update these by pressing "CTRL A" then F9 but i want this to be done in the macro. Does anyone know if this can be done and if so how? Many Thanks Geraint |
#2
|
||||
|
||||
![]()
Add this line to the beginning of your code:
Code:
Selection.WholeStory |
#3
|
||||
|
||||
![]()
You do the whole lot as part of the mailmerge without the need for any macros. See: https://www.msofficeforums.com/mail-...g-dynamic.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
![]()
Hi Macropod,
This has worked perfectly. Many thanks for your help. Geraint |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to automatically insert pictures the same size in word 2010 | mindblaster | Word | 2 | 03-07-2013 11:42 AM |
Can Word automatically update figure numbers? | gib65 | Word | 7 | 02-22-2013 05:52 AM |
![]() |
matthew544 | Word VBA | 5 | 12-06-2011 03:19 AM |
![]() |
gib65 | Word | 2 | 08-15-2011 01:46 PM |
Automatically update text changes in Word - how do I do it? | jonrm | Word | 2 | 05-21-2009 08:49 AM |