|
-
Nov 21st, 2011, 06:56 AM
#1
Thread Starter
Junior Member
Using Excel Macro to open images
Hi,
I have used excel to create a movie list which contains about 3000 movie's in range A9 to about A3000 if that makes sense, I would like to link an image to each movie so that the user can right click and choose the option to 'View Cover' and the image corresponding to that movie would be displayed. Do you have any idea about how I should go about doing this?
Andrew
-
Nov 21st, 2011, 03:42 PM
#2
Re: Using Excel Macro to open images
how do you want to view the cover, within excel or to open the default viewer for image files of that type?
for the latter use shellexecute API (many examples in this forum), if the former, you would need some image container, in your worksheet or a userform, to show the image in
Last edited by westconn1; Nov 21st, 2011 at 03:51 PM.
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Nov 21st, 2011, 09:56 PM
#3
Thread Starter
Junior Member
Re: Using Excel Macro to open images
Yes, I would like to be able to view the image from within excel, would you please be able provide me with any extra information about linking each movie with a certain image file?
Thanks
-
Nov 22nd, 2011, 05:26 AM
#4
Thread Starter
Junior Member
Re: Using Excel Macro to open images
 Originally Posted by westconn1
you would need some image container, in your worksheet or a userform, to show the image in
Do you have any ideas about how i could do this? Thanks (:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|