Creating labels using pictures, couple questions and errors

LevyEdge

New Member
Joined
May 17, 2016
Messages
10
Hello all!

What I have done is, I used a query to pull the data I needed, which is basically jsut the part#, part description, and the image file (Which is only 1.jpg, and stored in the database). So what I did was I set another column with concatenate and put the file location and the image jpg file in this column. Also put the "\\" for each "\" in the file location.

I went over to Microsoft Word, did the {includepicture "{mergefield image_location}" \*mergeformat\d}, press f9, and it gives me all the "The linked image cannot be displayed etc"

So my initial thoughts were, I dont think it's grabbing the "\\" in the first part where its getting the location. Which I was right. It's putting "\" instead of "\\" because it is on a different server, so I thought putting another "\" would work (making it "\\\"), but it didn't, put another "\" ("\\\\") and still didnt work.

What my problem is, I'm trying to make this user friendly and all they would have to do is filter the parts they need, press the macro. and all they would need to do open the word document it and also fills the labels with the part#, part description, and picture. My only trouble right now is the picture that I can't understand.


Does anyone have any experience with this? Please let me know, thank you!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,225,777
Messages
6,186,982
Members
453,393
Latest member
djangoframe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top