Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default group of worksheets in a workbook

Hi

how can I view (to check) which sheets have been included in a group ?

J
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default group of worksheets in a workbook

Johnnyboy5 formulated on Saturday :
Hi

how can I view (to check) which sheets have been included in a group ?

J


Loop through ActiveWindow.SelectedSheets for a list of sheetnames.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default group of worksheets in a workbook

On 25 Sep, 23:50, GS wrote:
Johnnyboy5 formulated on Saturday :

Hi


how can I view (to check) which sheets have been included in a group ?


J


Loop through ActiveWindow.SelectedSheets for a list of sheetnames.

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Hi

sorry not quite sure how to do that - is it a macro ?

Johnnny
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default group of worksheets in a workbook

Hello !

You could use "ActiveWindow.SelectedSheets" in a macro to display the name
of the selected sheets.
In a VBA module paste the following code:

Public Sub Show_Selected_Sheets()
Dim Sh As Object, ShList As String

For Each Sh In ActiveWindow.SelectedSheets
ShList = ShList & Sh.Name & vbCrLf
Next Sh
MsgBox ShList

End Sub


_________________________

Hi

sorry not quite sure how to do that - is it a macro ?

Johnnny


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default group of worksheets in a workbook

On 26 Sep, 15:18, "Charabeuh" wrote:
Hello !

You could use "ActiveWindow.SelectedSheets" in a macro to display the name
of the selected sheets.
In a VBA module paste the following code:

Public Sub Show_Selected_Sheets()
Dim Sh As Object, ShList As String

For Each Sh In ActiveWindow.SelectedSheets
* * ShList = ShList & Sh.Name & vbCrLf
Next Sh
MsgBox ShList

End Sub

_________________________





Hi


sorry not quite sure how to do that - is it a macro ?


Johnnny


Wow - thanks - works a treat -

Johnnyboy


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
Protecting select group of worksheets within a workbook Audrey G. Excel Worksheet Functions 0 July 8th 08 06:16 PM
Group, Outline, Protected Worksheets and Protected Workbook BEEJAY Excel Programming 0 February 13th 06 08:40 PM
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee jaking Excel Worksheet Functions 2 August 30th 05 02:09 PM
How do i group worksheets inside a workbook into subgroups? Legatha Excel Worksheet Functions 3 March 19th 05 01:51 AM
email as a group - multiple worksheets from one workbook Penny Excel Programming 5 September 13th 04 05:23 PM


All times are GMT +1. The time now is 10:27 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"