Macro Help - Insert an image into a Cells Comment Box

lynch

New Member
Joined
Apr 5, 2012
Messages
4
Hi Guys,

I was looking at the below link,

http://www.mrexcel.com/forum/showthread.php?t=72113

And basically I need the above doing, but as a macro.

Could someone help me produce it?

1)user highlight the target cell
2)user clicks a button to start the macro
3)the macro then brings up a dialog box which allow the user to select the image from c:\my pictures
4)the image is then inserted into the comment box

Any genius help?

Thanks for your time:):)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi Andrew,

Thanks for the quick reply! I may be having teething problems so please excuse my cheekyness!

This seems to paste a chart into my cell and not a picture?

Also it dosnt allow the user to select an image but asks to name the image?

Again sorry for being slow, this is new to me but I am having much fun trying! any ideas?:)
 
Upvote 0
You'll have to amend the macro if you want to select a picture on disk. You can use the FileDialog property to enable the user to select one.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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