Hello
To select a worksheet and to made it the selected worksheet:
Worksheets("MyName").select
To select a worksheet and to add it to the actual selection of worksheets :
Worksheets("MyName").select False
To select all the worksheet:
Sub SelectAllWorksheets()
Dim xW As Worksheet
Worksheets(1).Select
For Each xW In Worksheets
xW.Select False
Next xW
End Sub
"Luc" a écrit dans le message de groupe de discussion :
...
Hoi there,
I want to use the code "Application.Dialogs(xlDialogPrint).Show", but by
default i would like that 'All the worksheets" are selected when this
dialog opens.
Can it be done ???
Thanks,
Luc