sheetselection.
Posted by Luke on November 07, 2001 8:42 AM
When copying sheets from one workbook to another in VBA The only suggested way I can find is by using "sheets(array("..","..","..")). This is somewhat irritating because I have to define each worksheet. I don't previously know how many sheets there are in the new workbook nor always the exact names of the sheets. What I really want to do is select all sheets except one (the name of which I do know) but it could be anything from 2 through 15 sheets. Can anyone help me. Of course I could write a routine to check for the existance of each sheet but this if time consuming and I am sure there must be a simpler way. Also, I could select all sheet and deselect the any I don't want, If I knew how to deselect.
Luke