Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using VBA to hide and unhide certainworksheets based
on a user's input in a combobox. what is the VB function for turning off the screen so that the user doesn't see flashes as these worksheets hide and unhide? Any help is greatly appreciated. Thanks, Dan Winterton |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Application.Screenupdating = False
and True at the end. HTH. Best wishes Harald "Dan Winterton" skrev i melding ... I am using VBA to hide and unhide certainworksheets based on a user's input in a combobox. what is the VB function for turning off the screen so that the user doesn't see flashes as these worksheets hide and unhide? Any help is greatly appreciated. Thanks, Dan Winterton |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Dan,
Application.Screenupdating = False -- Kind Regards, Niek Otten Microsoft MVP - Excel "Dan Winterton" wrote in message ... I am using VBA to hide and unhide certainworksheets based on a user's input in a combobox. what is the VB function for turning off the screen so that the user doesn't see flashes as these worksheets hide and unhide? Any help is greatly appreciated. Thanks, Dan Winterton |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Dan,
Application.ScreenUpdating = False 'Your Code Application.ScreenUpddating = True However, It is rarely necessary to make selections and making repeated sheet selections will cause the flashing that you have observed. --- Regards, Norman "Dan Winterton" wrote in message ... I am using VBA to hide and unhide certainworksheets based on a user's input in a combobox. what is the VB function for turning off the screen so that the user doesn't see flashes as these worksheets hide and unhide? Any help is greatly appreciated. Thanks, Dan Winterton |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
application.screenupdating = false
application.screenupdating = true Always make sure that you turn it back on at the end of the procedure. It is also a good idea to include it in error handling code (if you have any). Don't turn it on and off multiple times withing the same set of function calls or the screen will flash when it is turned on. Hope this helps... "Dan Winterton" wrote: I am using VBA to hide and unhide certainworksheets based on a user's input in a combobox. what is the VB function for turning off the screen so that the user doesn't see flashes as these worksheets hide and unhide? Any help is greatly appreciated. Thanks, Dan Winterton |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Making a 0 invisible with a formiula | Excel Discussion (Misc queries) | |||
Making Border of Frozen Panes Invisible | Excel Discussion (Misc queries) | |||
invisible macro commands? | Excel Worksheet Functions | |||
Formulas and making info invisible | Excel Programming | |||
Invisible macro? | Excel Programming |