Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
(Using XL 2002) How would I test for Grouped Sheets and then ungroup them if they are grouped. Thanks for any help anyone can provide, Conan Kelly |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Conan,
Try something like If ActiveWindow.SelectedSheets.Count 1 Then ActiveWindow.SelectedSheets(1).Select End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting LLC www.cpearson.com (email on the web site) "Conan Kelly" wrote in message ... Hello all, (Using XL 2002) How would I test for Grouped Sheets and then ungroup them if they are grouped. Thanks for any help anyone can provide, Conan Kelly |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chip,
Thank you for your help, Conan "Chip Pearson" wrote in message ... Conan, Try something like If ActiveWindow.SelectedSheets.Count 1 Then ActiveWindow.SelectedSheets(1).Select End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting LLC www.cpearson.com (email on the web site) "Conan Kelly" wrote in message ... Hello all, (Using XL 2002) How would I test for Grouped Sheets and then ungroup them if they are grouped. Thanks for any help anyone can provide, Conan Kelly |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One possibility:
If ActiveWindow.SelectedSheets.Count 1 Then ActiveSheet.Select Or just: ActiveSheet.Select __________________________________________________ ______________________ "Conan Kelly" wrote in message ... Hello all, (Using XL 2002) How would I test for Grouped Sheets and then ungroup them if they are grouped. Thanks for any help anyone can provide, Conan Kelly |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Vasant,
Thank you for your help, Conan "Vasant Nanavati" <vasantn AT aol DOT com wrote in message ... One possibility: If ActiveWindow.SelectedSheets.Count 1 Then ActiveSheet.Select Or just: ActiveSheet.Select __________________________________________________ ______________________ "Conan Kelly" wrote in message ... Hello all, (Using XL 2002) How would I test for Grouped Sheets and then ungroup them if they are grouped. Thanks for any help anyone can provide, Conan Kelly |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Replace with Grouped Sheets | Excel Discussion (Misc queries) | |||
Ungrouping Sheets | Excel Programming | |||
Grouped Sheets and Formating | Excel Discussion (Misc queries) | |||
Printing Grouped Sheets | Excel Programming | |||
Printing Grouped Sheets | Excel Programming |