Puertorekinsam
Active Member
- Joined
- Oct 8, 2005
- Messages
- 293
I have another odd request that I hope someone out there can help me with.
is there a way in VBA to copy a portion of an image to the clipboard?
I have an image that appears on multiple tabs of my workbook, and I was able to use one JPEG on a hidden tab and load the image into an image box on the various tabs during worksheet activate and then clear them out when the tab deactivated. This worked great for decreasing file size.
Now I would like to use a simmilar process to take a map of my store (Luckily a large square location) and copy out just a section of the map to put in an image box.
I would think some sort of case statement to determin the top, left, width and height of the section of the image to be coppied would be needed. but I'm not sure if it can be done.
Thanks!
is there a way in VBA to copy a portion of an image to the clipboard?
I have an image that appears on multiple tabs of my workbook, and I was able to use one JPEG on a hidden tab and load the image into an image box on the various tabs during worksheet activate and then clear them out when the tab deactivated. This worked great for decreasing file size.
Now I would like to use a simmilar process to take a map of my store (Luckily a large square location) and copy out just a section of the map to put in an image box.
I would think some sort of case statement to determin the top, left, width and height of the section of the image to be coppied would be needed. but I'm not sure if it can be done.
Thanks!