Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gap Gap is offline
external usenet poster
 
Posts: 15
Default Differentiating Cell Drag Copy

Hello,

Is there a way to detect that the event (WorkSheet_Change or any other)
occured due to a cell drag copy of a cell and not a regular cell edit?

Thankyou.

Sincerly
Gap

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Differentiating Cell Drag Copy

Something like this perhaps,

Private Sub Worksheet_Change(ByVal Target As Range)
Static tmr As Single
If Timer - tmr < 0.1 Then
MsgBox "Dragged & Dropped"
End If
tmr = Timer
End Sub


Regards,
Vic Eldridge


"Gap" wrote:

Hello,

Is there a way to detect that the event (WorkSheet_Change or any other)
occured due to a cell drag copy of a cell and not a regular cell edit?

Thankyou.

Sincerly
Gap


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
How can I copy big ranges of cells without drag or copy/paste? Ricardo Julio Excel Discussion (Misc queries) 3 March 23rd 10 02:38 PM
Drag copy comments PYO1012 Excel Discussion (Misc queries) 2 February 12th 10 01:44 PM
Drag Copy jchandler0614 Excel Worksheet Functions 3 January 16th 08 05:25 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Prevent drag copy sowetoddid[_51_] Excel Programming 3 June 23rd 04 01:45 AM


All times are GMT +1. The time now is 02:39 AM.

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"