Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
how can I view (to check) which sheets have been included in a group ? J |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protecting select group of worksheets within a workbook | Excel Worksheet Functions | |||
Group, Outline, Protected Worksheets and Protected Workbook | Excel Programming | |||
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee | Excel Worksheet Functions | |||
How do i group worksheets inside a workbook into subgroups? | Excel Worksheet Functions | |||
email as a group - multiple worksheets from one workbook | Excel Programming |