Copy/Paste picture within a XLSM document

MrBrent

New Member
Joined
Dec 19, 2017
Messages
1
Thank you in advance.

I've created an order system in EXCEL/VBA - we have a worsheet 'clients' (demographic info - pricing levels - sales tax etc)

When we create an order for a client - we also create/populate LABEL data within the worksheet 'printlabels' (IE 4x6 thermal labels to be placed on the products they purchased).

We are getting requests from our clients to place their logo on the labels...

FYI - each client has a directory on the excel file server (where we copy their XLSM orders to) -

I'm thinking that I simply place a 'logo.jpg' in their directory...

When we populate the 'printlabels' worksheet -- we can then load/import the picture (repeat for all the labels to print).

FYI Our 4x6 labels take up 25 rows each. on the 'printlabels' worksheet

I would like the Picture to be placed in rows 1-4, (then 26-29, 51-54, etc etc THE FIRST 4 ROWS OF EACH LABEL)

Please ask questions if this is not clear enough!

Thanks;)
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You can write something like this to add images as you create each label:
Code:
With Sheets("Sheet1").Pictures.Insert("C:\Users\User1\Pictures\download.png")
    .Top = Sheets("Sheet1").Range("A1").Top  ' change cell reference
    .Left = Sheets("Sheet1").Range("A1").Left  ' change cell reference
    .Height = Sheets("Sheet1").Range("A1").RowHeight * 4
End With
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,178
Latest member
Emilou

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