PC Review


Reply
Thread Tools Rate Thread

Disable Multi Tab Select Functionality

 
 
volleykid77
Guest
Posts: n/a
 
      2nd Apr 2008
I am looking for a macro that I can put in the workbook module that will
disable the users ability to select multiple worksheets. I've got an active
worksheet macro that gets messed up when multiple tabs are selected.
 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      2nd Apr 2008
If the first line in the macro is:

ActiveSheet.Select

the problem goes away.

--
Jim
"volleykid77" <(E-Mail Removed)> wrote in message
news:07C998FE-3D41-4E8F-A7F9-(E-Mail Removed)...
|I am looking for a macro that I can put in the workbook module that will
| disable the users ability to select multiple worksheets. I've got an
active
| worksheet macro that gets messed up when multiple tabs are selected.


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      2nd Apr 2008
You may want to just inform the user and then stop. Let them decide if the
macro should run or the sheets remain grouped.

if activewindow.selectedsheets.count > 1 then
msgbox "Please ungroup the sheets before running this macro!
exit sub
end if



volleykid77 wrote:
>
> I am looking for a macro that I can put in the workbook module that will
> disable the users ability to select multiple worksheets. I've got an active
> worksheet macro that gets messed up when multiple tabs are selected.


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Option to disable Auto word select functionality? Cyclemaniaque Microsoft Outlook Discussion 1 14th May 2010 04:35 AM
code to parse a multi-colum multi-select listbox Jade Microsoft Excel Programming 1 16th Sep 2008 03:47 PM
disable multi-firing event on multi-clicking link John Grandy Microsoft ASP .NET 0 13th Sep 2005 02:01 AM
duplicating Multi Use COM like functionality in .NET =?Utf-8?B?YW5kcmV3Y3c=?= Microsoft C# .NET 4 6th Aug 2005 04:51 PM
Extract values from a multi-select multi-column list-box Peter Microsoft Excel Programming 5 28th Sep 2003 04:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:48 AM.