Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have an image on my worksheet. This image changes based on the activecell. I'd like to be able to double click that image control, and have my imagebrowser program (IrfanView) open with the image ready to be edited. At the moment, I've tried the following: Private Sub ImageBox_DblClick(ByVal Cancel As MSForms.ReturnBoolean) Dim myPicture As String, ImageID myPicture = Range("C" & ActiveCell.Row).Value ' column C includes the file paths of the images MsgBox (myPicture) ImageID = Shell("C:\Program Files\IrfanView\i_view32.exe" & myPicture, 1) 'ImageID = Shell(myPicture, 1) End Sub I've tested the filepaths are accurate using hyperlinks. Thanks in advance for any ideas. Darren |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Double-click and open .csv file | Setting up and Configuration of Excel | |||
Double Click will not open my Workbook | Excel Discussion (Misc queries) | |||
Double-click X to close program | Excel Discussion (Misc queries) | |||
why do 5 workbooks open when I double click one | Excel Discussion (Misc queries) | |||
Open external program | Excel Programming |