Re: How do I insert different pictures using and If statement in Word.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OyWIsgXRFHA.2744@xxxxxxxxxxxxxxxxxxxxxxx
> You can put INCLUDEPICTURE fields in the results of an IF
>
SNIP>
> In some cases you may be able to build the name from your criteria
>
> { INCLUDEPICTURE "c:\\mypics\\{ MERGEFIELD pictype }.jpg" }
>
> In all cases, all the {} need to be the spcial field code braces that you
> can insert using ctrl-F9
>
> Peter Jamieson
>
Not the OP but I tried this above example to merge signatures into a
letter - something like {INCLUDEPICTURE "c:\\mypics\\{MERGEFIELD
USERNAME}.gif"}. I made sure the .gif files were named the same as the
resulting USERNAME fields- i.e. JOE BLOGGS.gif, but it did'nt work for some
reason. I thought maybe because the USERNAME has a space in the middle? This
cannot be changed , the fields come from a specialised S/W package...any
ideas? It would be great to get it working.
Graham


.



Relevant Pages