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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

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