Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that creates many worksheets, emails them, and then deletes
them. I want to have a user form come up while the macro runs in the background. With everything I tried, the user form flickers pretty badly and the labels on it don't update while the macro is running. I have several label.caption statements in the macro to show progress on the user form. How do I make the form come up and remain in focus without flickering as this macro does its thing? -- Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try displaying the form modeless -
YourForm.Show vbModeless Cliff Edwards |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Have you tried setting the ScreenUpdating property to True? For example, Application.ScreenUpdating = False ' your code here Application.ScreenUpdating = True Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Fri, 27 Feb 2009 11:47:37 -0500, "Saucer Man" wrote: I have a macro that creates many worksheets, emails them, and then deletes them. I want to have a user form come up while the macro runs in the background. With everything I tried, the user form flickers pretty badly and the labels on it don't update while the macro is running. I have several label.caption statements in the macro to show progress on the user form. How do I make the form come up and remain in focus without flickering as this macro does its thing? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Have you tried setting the ScreenUpdating property to True? ScreenUpdating should, of course, be False, not True. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Fri, 27 Feb 2009 11:14:49 -0600, Chip Pearson wrote: Have you tried setting the ScreenUpdating property to True? For example, Application.ScreenUpdating = False ' your code here Application.ScreenUpdating = True Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Fri, 27 Feb 2009 11:47:37 -0500, "Saucer Man" wrote: I have a macro that creates many worksheets, emails them, and then deletes them. I want to have a user form come up while the macro runs in the background. With everything I tried, the user form flickers pretty badly and the labels on it don't update while the macro is running. I have several label.caption statements in the macro to show progress on the user form. How do I make the form come up and remain in focus without flickering as this macro does its thing? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works great. Thanks.
"Chip Pearson" wrote in message ... Have you tried setting the ScreenUpdating property to True? ScreenUpdating should, of course, be False, not True. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Fri, 27 Feb 2009 11:14:49 -0600, Chip Pearson wrote: Have you tried setting the ScreenUpdating property to True? For example, Application.ScreenUpdating = False ' your code here Application.ScreenUpdating = True Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Fri, 27 Feb 2009 11:47:37 -0500, "Saucer Man" wrote: I have a macro that creates many worksheets, emails them, and then deletes them. I want to have a user form come up while the macro runs in the background. With everything I tried, the user form flickers pretty badly and the labels on it don't update while the macro is running. I have several label.caption statements in the macro to show progress on the user form. How do I make the form come up and remain in focus without flickering as this macro does its thing? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date field in user form & Loading a user form on opening workbook | Excel Programming | |||
Automatically add a textbox to a user form based on user requireme | Excel Programming | |||
User form ComboBox Items: Remember user entries? | Excel Programming | |||
FLICKERING...(fore ground font color with flickering).. | Excel Discussion (Misc queries) | |||
How to: User Form to assign a user defined range to a macro variab | Excel Programming |