PC Review


Reply
Thread Tools Rate Thread

Disable Ctrl- PAGEUP PAGEDWN

 
 
Boss
Guest
Posts: n/a
 
      8th Jan 2008
I wish to disable CTRL-pageup & pagedown so that the user cannot swith
between worsheets. I would even wish to hide the Tools-option-sheettabs, so
that user can only work in his worksheet.

Hope what i am lookingf for.. Thanks a lot for help.
Boss
 
Reply With Quote
 
 
 
 
Vergel Adriano
Guest
Posts: n/a
 
      8th Jan 2008
Maybe try this in a code module:

Sub DummyProc()
Beep
End Sub

Sub DisableKeys()
Application.OnKey "^{PGUP}", "DummyProc"
Application.OnKey "^{PGDN}", "DummyProc"
End Sub

Sub RestoreKeys()
Application.OnKey "^{PGUP}"
Application.OnKey "^{PGDN}"
End Sub


To disable the ctrl+pgup and ctrl+pgdn call the DisableKeys sub. To get
them back, use the RestoreKeys sub.

--
Hope that helps.

Vergel Adriano


"Boss" wrote:

> I wish to disable CTRL-pageup & pagedown so that the user cannot swith
> between worsheets. I would even wish to hide the Tools-option-sheettabs, so
> that user can only work in his worksheet.
>
> Hope what i am lookingf for.. Thanks a lot for help.
> Boss

 
Reply With Quote
 
Boss
Guest
Posts: n/a
 
      8th Jan 2008
Actually i have ten users and ten
respective sheets for them.

I have a login page which takes them to therir respective sheet. All i wish
is that one user can only access one sheet.

All the ten sheets are password protected with different passwords. Each
user is aware of his own password. The file is shared.

I have also blocked sheets tabs & freezed tools options using macro. Now i
want to disable Ctrl page up & Page down so that user cannot move to
different sheets.

Hope the situation is more clear. Thanks a lot for help in advance..

Boss


"Boss" wrote:

> I wish to disable CTRL-pageup & pagedown so that the user cannot swith
> between worsheets. I would even wish to hide the Tools-option-sheettabs, so
> that user can only work in his worksheet.
>
> Hope what i am lookingf for.. Thanks a lot for help.
> Boss

 
Reply With Quote
 
Boss
Guest
Posts: n/a
 
      8th Jan 2008
Thanks a lot for ur help..
It really solved my purpose..

Many thanks
Boss


"Vergel Adriano" wrote:

> Maybe try this in a code module:
>
> Sub DummyProc()
> Beep
> End Sub
>
> Sub DisableKeys()
> Application.OnKey "^{PGUP}", "DummyProc"
> Application.OnKey "^{PGDN}", "DummyProc"
> End Sub
>
> Sub RestoreKeys()
> Application.OnKey "^{PGUP}"
> Application.OnKey "^{PGDN}"
> End Sub
>
>
> To disable the ctrl+pgup and ctrl+pgdn call the DisableKeys sub. To get
> them back, use the RestoreKeys sub.
>
> --
> Hope that helps.
>
> Vergel Adriano
>
>
> "Boss" wrote:
>
> > I wish to disable CTRL-pageup & pagedown so that the user cannot swith
> > between worsheets. I would even wish to hide the Tools-option-sheettabs, so
> > that user can only work in his worksheet.
> >
> > Hope what i am lookingf for.. Thanks a lot for help.
> > Boss

 
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
disable pageup and pagedown Phyllis Microsoft Excel Programming 1 23rd Apr 2010 09:11 AM
Ctrl+PageUp after Ctrl+H FARAZ QURESHI Microsoft Word Document Management 2 31st Jul 2008 05:31 AM
disable CTRL-pageup & pagedown Boss Microsoft Excel Misc 4 8th Jan 2008 06:08 PM
Why does'nt sheet protection allow CTRL+PAGEUP/DOWN to work? =?Utf-8?B?cnRtNDgzMw==?= Microsoft Excel Worksheet Functions 0 15th Mar 2006 04:08 PM
Disable PageUp and Page Down =?Utf-8?B?Q2Fsdmlu?= Microsoft Access Forms 2 1st Mar 2004 07:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:08 PM.