image1.width after autosize ?

TEQNOBLASTER

New Member
Joined
Mar 7, 2018
Messages
2
Hi Everyone,

I have a userform with a gallery of images in thumbnail size.

I am trying to use a second userform that will resize to the size of the image.

With the autosize property set to true the image displays at its original size.

However, when i set the userforms width and height to the images width and height it pulls the "before" autosize properties..

How in the world do i get the width and height of the image?

--QBlaster
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I hope that makes sense

The image1 properties are
width 400
height 400

the image itself is 800 x 800

the image displays at 800x800 with autosize set to true

..yet the properties are still 400x400...
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,953
Members
449,198
Latest member
MhammadishaqKhan

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