Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 419
Default Testing for and ungrouping grouped sheets

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Testing for and ungrouping grouped sheets

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 419
Default Testing for and ungrouping grouped sheets

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Testing for and ungrouping grouped sheets

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 419
Default Testing for and ungrouping grouped sheets

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace with Grouped Sheets Jim May Excel Discussion (Misc queries) 4 September 15th 06 02:19 PM
Ungrouping Sheets Claude Excel Programming 5 October 24th 05 01:49 PM
Grouped Sheets and Formating Pank Mehta Excel Discussion (Misc queries) 3 March 24th 05 01:42 AM
Printing Grouped Sheets Elaine Roden Excel Programming 4 May 31st 04 06:06 PM
Printing Grouped Sheets JMay Excel Programming 3 May 10th 04 11:26 PM


All times are GMT +1. The time now is 10:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"