Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Drag and drop

Hi

I have a worksheet (Excel 2003) on which I need to disable drag and drop.
Doing so within the worksheet_activate area as shown below works fine, BUT
doing this also prevents the user copying in data from another open workbook.

How can I disable drag and drop, but allow pasting from another workbook?

Thanks
dave

Private Sub Workbook_Activate()
Application.CellDragAndDrop = False
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Drag and drop

Try to turn on drag and drop with wrokbook deactivate event.
H
"Dave-R-W" wrote in message
...
| Hi
|
| I have a worksheet (Excel 2003) on which I need to disable drag and drop.
| Doing so within the worksheet_activate area as shown below works fine, BUT
| doing this also prevents the user copying in data from another open
workbook.
|
| How can I disable drag and drop, but allow pasting from another workbook?
|
| Thanks
| dave
|
| Private Sub Workbook_Activate()
| Application.CellDragAndDrop = False
| End Sub
|

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Drag and drop

Hi

drag and drop is disabled using the deactivate event. A user can go to
another workbook and copy a cell, and paste it either in that workbook or
somewhere else, just not into the workbook I'm using. It's as if the
activate event clears the clipboard...

Data can be copied in from another office application - eg Word, but not
from another spreadsheet.

"Homey" wrote:

Try to turn on drag and drop with wrokbook deactivate event.
H
"Dave-R-W" wrote in message
...
| Hi
|
| I have a worksheet (Excel 2003) on which I need to disable drag and drop.
| Doing so within the worksheet_activate area as shown below works fine, BUT
| doing this also prevents the user copying in data from another open
workbook.
|
| How can I disable drag and drop, but allow pasting from another workbook?
|
| Thanks
| dave
|
| Private Sub Workbook_Activate()
| Application.CellDragAndDrop = False
| End Sub
|


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
Drag & Drop Freshman Excel Worksheet Functions 1 November 5th 09 08:26 AM
Drag and Drop Drag and Drop Excel Programming 2 January 13th 07 07:11 PM
Drag and Drop Drag and Drop[_2_] Excel Programming 0 August 3rd 06 10:33 AM
Drag & Drop !? RAFAAJ2000[_2_] Excel Programming 0 July 27th 05 02:57 PM
Drag and Drop Help! Peter[_51_] Excel Programming 2 December 23rd 04 08:22 AM


All times are GMT +1. The time now is 12:33 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"