Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2012, 10:26 PM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default Inserting a clipart to mail merge

I may have asked this before but I am still no nearer an answer. I have an excel database which I use to create labels with mail merge. I need to add little cliparts/photos to each row of data in the excel database so they appear on the labels but a clipart/photo is not recognised in a cell like a number or text is. How do I add cliparts/photos, some may be different for each row of data? Thanks.
Reply With Quote
  #2  
Old 05-31-2012, 10:56 PM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In Excel, you need to have not the images, but their filenames (and, depending on your mailmerge approach), filepaths. You can then use the technique outlined here:
https://www.msofficeforums.com/mail-...els-excel.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 06-01-2012, 12:50 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

That link you provided has gone way over my head, I may have to forget this one.
Reply With Quote
  #4  
Old 06-01-2012, 12:55 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

It's not that difficult - it just requires some care and patience.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 06-01-2012, 01:22 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
It's not that difficult - it just requires some care and patience.
It is if you dont understand it and dont know where to start! I have an excel sheet with 4-5 columns of data, which will be 4-5 different fields on the labels. The little pictures are .pcx extensions. Could you talk me through it in laymens terms please? Thanks.
Reply With Quote
  #6  
Old 06-01-2012, 01:47 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In your Excel workbook, instead of (or as well as) the pictures, insert their filenames.

Then, in Word, insert a field coded as:
{IF {INCLUDEPICTURE {IF TRUE "C:\Users\My Document Path\Pictures\«Image»"} \d} {INCLUDEPICTURE {IF TRUE "C:\Users\My Document Path\Pictures\«Image»"} \d}}
where 'C:\Users\My Document Path\Pictures' is the path to those pictures and '«Image»' is a mergefield that points to whatever name you give the heading row that contains the image filenames. The filepath is probably something like:
C:\Program Files\Microsoft Office\MEDIA\CAGCAT10
You can find the correct path for a given image via Insert|Clipart, selecting an image then choosing 'Properties'.

If the images are in a variety of different folders, you'll need to add the filepaths to Excel as well. If you add them to the same cells that contain the filenames, the field construction in Word can be simplified to:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} {INCLUDEPICTURE {IF TRUE «Image»} \d}}
If, however, you put the filepaths in a separate column, you'll need a field construction like:
{IF {INCLUDEPICTURE {IF TRUE "«FilePath»\«Image»"} \d} {INCLUDEPICTURE {IF TRUE "«FilePath»\«Image»"} \d}}

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message. Likewise, you can't type or copy & paste the chevrons (ie '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 06-01-2012, 02:00 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
In your Excel workbook, instead of (or as well as) the pictures, insert their filenames.

Then, in Word, insert a field coded as:
{IF {INCLUDEPICTURE {IF TRUE "C:\Users\My Document Path\Pictures\«Image»"} \d} {INCLUDEPICTURE {IF TRUE "C:\Users\My Document Path\Pictures\«Image»"} \d}}
where 'C:\Users\My Document Path\Pictures' is the path to those pictures and '«Image»' is a mergefield that points to whatever name you give the heading row that contains the image filenames. The filepath is probably something like:
C:\Program Files\Microsoft Office\MEDIA\CAGCAT10
You can find the correct path for a given image via Insert|Clipart, selecting an image then choosing 'Properties'.
How do I insert this field? I use the mail merge wizard. Each .pcx relates to a part number in column A of the excel file. How will it match up?
Reply With Quote
  #8  
Old 06-01-2012, 03:09 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Each row in your data file needs to have the filename for the picture that row refers to. If you have more than one picture, you need to have a separate column with the name (and path, if they're not all the same) for each picture.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 06-01-2012, 03:15 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

Ok then could you tell me what to put in a cell if the picture is in C:\Documents and Settings\MANAGER\Desktop\New folder and is called edp1058.pcx for example.
Reply With Quote
  #10  
Old 06-01-2012, 04:42 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In that case, if all your images are in 'C:\Documents and Settings\MANAGER\Desktop\New folder', In Excel you'd use:
C:\Documents and Settings\MANAGER\Desktop\New folder\edp1058.pcx
and, in the Word document, the third version of the field coding from my last post:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} {INCLUDEPICTURE {IF TRUE «Image»} \d}}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 06-01-2012, 05:17 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

Ok I think I got the first part but not the second 'and, in the Word document, the third version of the field coding from my last post:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} {INCLUDEPICTURE {IF TRUE «Image»} \d}}' how do I put this in using the mail merge wizard?
Reply With Quote
  #12  
Old 06-01-2012, 05:28 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by dazwm View Post
Ok I think I got the first part but not the second 'and, in the Word document, the third version of the field coding from my last post:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} {INCLUDEPICTURE {IF TRUE «Image»} \d}}' how do I put this in using the mail merge wizard?
For the most part you don't. See the note in post 6 above. Except for the «Image» fields, which you can input via the mail merge wizard, the rest is created manually. For example selecte the destination point and press Ctrl-F9 three times. You'll get three nested fields, thus '{ { { } } }'. Fill these in with the text so that you end up with:
{IF {INCLUDEPICTURE {IF TRUE } \d} }
After the 'IF TRUE ' use the mail merge wizard to insert the first «Image» field. you should now have:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} }
Now move the cursor to the left of the last '}' and press Ctrl-F9 twice more, so that you get:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} { { } }}
Complete the in-filling as already described.
Note: At a minimum you should end up with the following spacing in the field code:
{IF {INCLUDEPICTURE {IF TRUE «Image»} \d} {INCLUDEPICTURE {IF TRUE «Image»} \d}}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 06-01-2012, 06:00 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

I have put a part number into excel in column A then in column B put C:\Documents and Settings\MANAGER\Desktop\New folder\edp1058.pcx

I shut down then opened word and did the merge but when I went to print preview there was no picture just the wording C:\Documents and Settings\MANAGER\Desktop\New folder\edp1058.pcx
Reply With Quote
  #14  
Old 06-01-2012, 06:06 AM
macropod's Avatar
macropod macropod is offline Inserting a clipart to mail merge Windows 7 64bit Inserting a clipart to mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That suggests you have an «Image» field that is outside the field code described above. As for the lack of a picture, unless you've managed to not implement the field code correctly, that suggests either your picture name and/or the file path is not what the "C:\Documents and Settings\MANAGER\Desktop\New folder\edp1058.pcx" string points to.

Press Alt-F9 to toggle the field code display and confirm that it is exactly as described.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #15  
Old 06-01-2012, 06:10 AM
dazwm dazwm is offline Inserting a clipart to mail merge Windows XP Inserting a clipart to mail merge Office 2007
Advanced Beginner
Inserting a clipart to mail merge
 
Join Date: May 2012
Posts: 59
dazwm is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
That suggests you have an «Image» field that is outside the field code described above. As for the lack of a picture, unless you've managed to not implement the field code correctly, that suggests either your picture name and/or the file path is not what the "C:\Documents and Settings\MANAGER\Desktop\New folder\edp1058.pcx" string points to.

Press Alt-F9 to toggle the field code display and confirm that it is exactly as described.
I am really not understanding all this 'image fields' and 'field codes'. is it possible you could attach a sample for me to look at?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting a clipart to mail merge Conditional merge fields in mail merge Aude Mail Merge 1 01-06-2012 07:38 PM
Inserting a clipart to mail merge From a beginner: Mail Merge using Windows Mail mhalpern705 Mail Merge 3 12-16-2011 04:58 AM
Inserting a clipart to mail merge Saving INDV mail merges During the mail merge sedain121 Mail Merge 2 10-04-2011 07:52 PM
Inserting a clipart to mail merge Inserting pages at the end of a mail merge morten_lysgaard Mail Merge 3 07-25-2011 11:19 PM
Inserting images into mail merge lorraine_hamilton Mail Merge 0 10-19-2009 09:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft