UserForm Animation

kayza

Board Regular
Joined
Apr 29, 2015
Messages
61
Office Version
  1. 2007
Platform
  1. Windows
Hi...
I have an userform which only has height 50, and when i call it with simple code userform.show, the userform height will slowly growing into specific value, for example 500.


I wonder, is this can be done with Macro VBA?


thanks in advance
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
So when the UserForm opens the height is 50 and you want it to slowly grow in size to 500. Define "Slowly"
Do you want it to take 5 seconds to grow to 500 or 50 seconds or 5 minutes?
And how do you want to tell it what size to grow to? Do you want a Inputbox to popup asking what size?



Hi...
I have an userform which only has height 50, and when i call it with simple code userform.show, the userform height will slowly growing into specific value, for example 500.


I wonder, is this can be done with Macro VBA?


thanks in advance
 
Last edited:
Upvote 0
I'm sorry for untidy or maybe unclear in describing what I really want. and hopefully this other example, can make more clearly.


So I have userform1 which I set the height properties with 50, and then I display the UserForm1 from the command button which I put it on the UserForm2. After the UserForm1 appears, the height properties of the UserForm1 will slowly change from 50 to 500 within 2 or maybe 3 seconds, so the UserForm1 will have an animation effect based on its high value automatically.


Thanks in advance. and sorry for my poor English spelling.
 
Upvote 0

Forum statistics

Threads
1,216,737
Messages
6,132,436
Members
449,727
Latest member
Aby2024

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