Insert Image without local drive

Dwergkip

New Member
Joined
Sep 24, 2014
Messages
48
Hello everyone,

I'm finding trouble to insert an image from my USB / a certain folder.

After pressing a certain "Button" a certain image has to show.
But I have to send this Excel map to other people.
So is it possible to add a folder with images in it so the VBA can insert images from that folder?

Now I have to add images from my local drive, but this folder is never the same at other people's PC.

For example:
Code:
Sub Button()
ActiveSheet.Pictures.Insert ("Excelmap\Image1.Jpg")
End sub
So without C:\ProgramFiles\Documents\User

Is this possible?

Kind Regards
 
Or perhaps, is it possible to just add the images in another sheet, and let them add from there?
If that is not possible, maybe even from within the same sheet?
 
Upvote 0
I would just import all the images you need into a separate sheet. You can then refer to the images on that sheet and it would be much easier than having to import all the images from a saved location everytime you open the spreadsheet.

So I would put all the images on a separate sheet and then hide the sheet containing the images when it is ready to send out to other people.
 
Upvote 0

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