ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Picture size increase/decrease in size using code (https://www.excelbanter.com/excel-programming/437072-picture-size-increase-decrease-size-using-code.html)

JohnUK

Picture size increase/decrease in size using code
 
Hi,
Is it possible to have a macro which will blow a picture up when you click
on it, and then will shrink it again if clicked again, and will work on any
picture i.e. only one macro need be written?
Regards
John

JohnUK

Picture size increase/decrease in size using code
 
Just thought of something that would probably be better.
Is it possible to click on the picture so that it would open in a new window
so that you can use the X to close again?
The workbook would have approx 200 pictures, so if at all possible have one
code that can pick up any picture
Help greatly appreciated. Many thanks
John


"JohnUK" wrote:

Hi,
Is it possible to have a macro which will blow a picture up when you click
on it, and then will shrink it again if clicked again, and will work on any
picture i.e. only one macro need be written?
Regards
John


Corey[_4_]

Picture size increase/decrease in size using code
 
You could use a Userform with a Image on it, and it would be populated by
the image selected.
However, i feel you would need the Image location(C:\Documents and
Settings\User\My Documents\My Pictures.Example.jpg) in a cell for this to
work.


Corey....
"JohnUK" wrote in message
...
Just thought of something that would probably be better.
Is it possible to click on the picture so that it would open in a new
window
so that you can use the X to close again?
The workbook would have approx 200 pictures, so if at all possible have
one
code that can pick up any picture
Help greatly appreciated. Many thanks
John


"JohnUK" wrote:

Hi,
Is it possible to have a macro which will blow a picture up when you
click
on it, and then will shrink it again if clicked again, and will work on
any
picture i.e. only one macro need be written?
Regards
John





All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com