mike.hansford
New Member
- Joined
- Dec 23, 2008
- Messages
- 2
I am a real beginner to VBA so bear with me...
I have a workbook that changes data from a drop down menu, which then takes around 20 seconds to calculate.
I have created a userform with a loading SWF file which i'd like to display for this duration.
I can show the user form but when i try to hide userfrom it continues to run. here is my code
Sub loading()
UserForm1.Show
Application.OnTime Now + TimeValue("00:00:05"), Wait
Unload UserForm1
End Sub
I am using Excel 365 pro plus
Thanks
Mike
I have a workbook that changes data from a drop down menu, which then takes around 20 seconds to calculate.
I have created a userform with a loading SWF file which i'd like to display for this duration.
I can show the user form but when i try to hide userfrom it continues to run. here is my code
Sub loading()
UserForm1.Show
Application.OnTime Now + TimeValue("00:00:05"), Wait
Unload UserForm1
End Sub
I am using Excel 365 pro plus
Thanks
Mike