Comment pictures to user form

Rick50

New Member
Joined
Feb 26, 2010
Messages
17
I have a large spreadsheet that has pictures in the comments. I also have a user form that folks use to get quick info by just typing in the part number. The user form returns location, price, yada, yada, yada. But I've also included an image box that I was hoping to get the picture stored as a comment in the spreadsheet to appear in the image box. But I am having no luck at all. I am by no means an expert at code but I have this form working great except for the picture. Any help would be appreciated.
This is the code i have:
Code:
If Not FindCell Is Nothing Then
                Me.TextBox1.Value = FindCell(1, 3).Value
                Me.TextBox2.Value = FindCell(1, -1).Value
                Me.TextBox3.Value = FindCell(1, 9).Value
                Me.TextBox4.Value = FindCell(1, 2).Value
                Me.TextBox6.Value = FindCell(1, 6).Value
                Me.comentpic1 = FindCell(1, 14).Comment.Shape.fill
Thx
Rick
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

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