+ Reply to Thread
Results 1 to 5 of 5

Prevent drag and drop of a worksheet using Application.OnKey or similar

  1. #1
    Registered User
    Join Date
    08-28-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 365 for Mac
    Posts
    13

    Prevent drag and drop of a worksheet using Application.OnKey or similar

    Hi

    I'm trying to stop a worksheet being copied by preventing the use of ctrl + mouse click to drag and/or drop it to a new workbook. Is it possible to capture 'mouse down' and use it with Application.OnKey?

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Prevent drag and drop of a worksheet using Application.OnKey or similar

    hi, try Protection - Protect workbook - Structure

  3. #3
    Registered User
    Join Date
    08-28-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 365 for Mac
    Posts
    13

    Re: Prevent drag and drop of a worksheet using Application.OnKey or similar

    Thanks. I have that already but would like to increase the security by preventing a user copying/moving a worksheet using mousedown or ctrl+mousedown

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Prevent drag and drop of a worksheet using Application.OnKey or similar

    Quote Originally Posted by maxcat View Post
    Thanks. I have that already but would like to increase the security by preventing a user copying/moving a worksheet using mousedown or ctrl+mousedown

    Making Excel more secure is almost impossible
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    08-28-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 365 for Mac
    Posts
    13

    Re: Prevent drag and drop of a worksheet using Application.OnKey or similar

    Thanks everyone

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1