#1   Report Post  
DaveyC4S
 
Posts: n/a
Default Prevent Drag & Drop

Hi

I have produced a protected worksheet with a mixture of locked and unlocked
cells. I would like to prevent the ability to drag and drop unlocked cells
as a function of the worksheet. Currently it is possible to drag one
unlocked cell onto another.

I know the drag and drop function can be turned off in ToolsOptions but
this is not inherited in the workbook after closing.

Any help greatly appreciated

Dave
  #2   Report Post  
Bob Umlas
 
Posts: n/a
Default

Turn it off in VBA in the workbook_open event
You can record it to see the syntax.

"DaveyC4S" wrote in message
...
Hi

I have produced a protected worksheet with a mixture of locked and

unlocked
cells. I would like to prevent the ability to drag and drop unlocked

cells
as a function of the worksheet. Currently it is possible to drag one
unlocked cell onto another.

I know the drag and drop function can be turned off in ToolsOptions but
this is not inherited in the workbook after closing.

Any help greatly appreciated

Dave



  #3   Report Post  
Stefi
 
Posts: n/a
Default

Put
Application.CellDragAndDrop = False
in Workbook_Open.
Regards,
Stefi


€˛DaveyC4S€¯ ezt Ć*rta:

Hi

I have produced a protected worksheet with a mixture of locked and unlocked
cells. I would like to prevent the ability to drag and drop unlocked cells
as a function of the worksheet. Currently it is possible to drag one
unlocked cell onto another.

I know the drag and drop function can be turned off in ToolsOptions but
this is not inherited in the workbook after closing.

Any help greatly appreciated

Dave

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling Drag And Drop Referencing camerons New Users to Excel 1 August 22nd 05 03:29 PM
Help please simple drop and drag I can't make work Anthony Excel Worksheet Functions 2 July 10th 05 06:28 AM
cell drop and drag D Snider Excel Worksheet Functions 1 May 1st 05 04:27 AM
drag and drop to get a lot of wordarts? Anderson Lee Excel Discussion (Misc queries) 2 December 28th 04 05:41 AM
drag and drop to get a lot of wordarts? Anderson Lee Excel Discussion (Misc queries) 0 December 27th 04 05:15 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"