+ Reply to Thread
Results 1 to 2 of 2

Which one is better to Disable Cut & Paste, Drag & Drop

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    New Hampshire
    MS-Off Ver
    Excel 2010
    Posts
    84

    Which one is better to Disable Cut & Paste, Drag & Drop

    Hi all,

    Just a quick question as to which code is "better" to disable D&D, C&P....

    Please Login or Register  to view this content.
    OR This one:

    Please Login or Register  to view this content.
    I noltice that one uses "Option Explicit" and one doesn't, one is much longer than the other, but when I tested both, they both seem to do the same thing. I did notice that neither one of them prevents a "paste" into the worksheet when something is copied from an outside source!!!
    Last edited by FDibbins; 12-05-2013 at 06:37 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16/365
    Posts
    52,239

    Re: Which one is better to Disable Cut & Paste, Drag & Drop

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I will add them for you - this time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disabling Drag and Drop also disables Paste
    By Dave-R-W in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2009, 09:32 AM
  2. Disable drag and drop and cut and paste
    By SteelDetailer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2006, 03:10 PM
  3. How to Disable drag and drop of Pictures from Excel
    By dshaffer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2006, 08:55 PM
  4. Disable Cut, Paste, Drag & Drop in Protected Workbook
    By Andrew Stevens in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-06-2005, 11:45 AM
  5. [SOLVED] Can you drag/drop rows w/o using Cut/Paste
    By spp in forum Excel General
    Replies: 2
    Last Post: 03-11-2005, 12:06 PM

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