Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test if Auto Outline is True
My code uses Auto Outline like this:
ActiveSheet.Range("A2:T50").AutoOutline However, if the sheet is already outlined it displays a prompt. I'd rather is skip the statement if the sheet is already outlined. Is there a statement I can use to first test if the sheet is already outlined? tod |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test if Auto Outline is True
Hi Tod,
This should do it: Application.DisplayAlerts = False ActiveSheet.Range("A2:T50").AutoOutline Application.DisplayAlerts = True -- Rob Bovey, MCSE, MCSD, Excel MVP Application Professionals http://www.appspro.com/ * Please post all replies to this newsgroup * * I delete all unsolicited e-mail responses * "Tod" wrote in message ... My code uses Auto Outline like this: ActiveSheet.Range("A2:T50").AutoOutline However, if the sheet is already outlined it displays a prompt. I'd rather is skip the statement if the sheet is already outlined. Is there a statement I can use to first test if the sheet is already outlined? tod |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
=IF(test,true,false) only ever returns "true"? | Excel Worksheet Functions | |||
Test for outline level of cell | Excel Worksheet Functions | |||
=IF(logical test,value if true,value if false) always backwards! | Excel Worksheet Functions | |||
if test using true/false or yes/no | Excel Discussion (Misc queries) | |||
how: if, conditional test, true (do nothing if false) | Excel Discussion (Misc queries) |