Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

INCLUDEPICTURE prob

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
accdev - 23 Sep 2005 22:46 GMT
When I place the merge field within the INCLUDEPICTURE  it appears ok as  {
MERGEFIELD myfield}.  However when I do a Save it instantly changes to the
actual data, i.e., "MyFileName.jpg".  I have a routine in the document open
event that calls a routine in the dot file that reupdates all the fields.  
However, it never updates the picture.  I have a feeling that once it gets
changed in the Save as the actual data, it never changes again.  What do I do
to cause the picture to change from record to record?
macropod - 25 Sep 2005 07:50 GMT
Hi accdev,

Your MERGEFIELD should look something like:
{INCLUDEPICTURE {MERGEFIELD PicName}}
where PicName is the full path, filename & extension for the picture,
although these requirements can be reduced according to how much of the
path, fileextension are incorporated into the INCLUDEPICTURE field. For
example:
{INCLUDEPICTURE "C:/My Documents/{MERGEFIELD PicName}.jpg"}
or
{INCLUDEPICTURE "C:\\My Documents\\{MERGEFIELD PicName}.jpg"}

When you mailmerge document is saved with the above coding, it should not
update with the actual picture.

Cheers

> When I place the merge field within the INCLUDEPICTURE  it appears ok as  {
> MERGEFIELD myfield}.  However when I do a Save it instantly changes to the
[quoted text clipped - 3 lines]
> changed in the Save as the actual data, it never changes again.  What do I do
> to cause the picture to change from record to record?
accdev - 25 Sep 2005 18:00 GMT
works great...thanks

> Hi accdev,
>
[quoted text clipped - 23 lines]
> do
> > to cause the picture to change from record to record?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.