Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ctrl C (Excel97 SR2)

    Does anyone know how to prevent the use of Ctrl C on a spreadsheet so that users cannot copy any of the data? I have disabled 'Right Click' menus but I cannot see how to disable Ctrl C.

  2. #2
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Kortrijk, Belgium
    Posts
    571
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Ctrl C (Excel97 SR2)

    Have a look at this thread, explaining how to disable the Numlock key. You should use the Const VK_CONTROL As Integer = &H11 and should be able to disable the CTRL key.

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Ctrl C (Excel97 SR2)

    A bit easier that what Hans pointed you to, the following should disable the Ctrl+C key:

    <pre>Application.OnKey "^c", ""
    [pre]

    The following should restore it:

    [pre]
    Application.OnKey "^c"
    </pre>

    Legare Coleman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •