You can disable the Sheets Tabs
ActiveWindow.DisplayWorkbookTabs = False
But the user can use ToolsOptions to set it to true so
to be save you must disable the options menu
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl
"COM" wrote in message ...
I have not been able to find anything that would allow me
to prevent Excel spreadsheet users from selecting multiple
worksheets in a given workbook.
Problem I'm trying to solve is this, though it can be
summed up differently, Users use a workbook that has
multiple worksheets in it. As is commonly known to Excel
users, if multiple worksheets are selected, then data is
changed on any of those multiple sheets the same data is
applied to all selected worksheets. I want to be able to
prevent the selection of multiple worksheets in the first
place. I have figured out that if multiple sheets are
already highlighted/selected, then any other non-active
worksheet is selected, to make that new active worksheet
the only selected sheet. However, I have not figured out
how to prevent a user from first selecting a worksheet
then say holding the shift key selecting a worksheet
several tabs over, and then editing data on the active
sheet which would then change the data of all the selected
sheets.
If anyone knows how to prevent the selection of multiple
worksheets from the get go, I wouldn't need so much user
error correction/prevention.
Thanks