ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   help, find copied cell (https://www.excelbanter.com/excel-programming/361380-help-find-copied-cell.html)

x taol

help, find copied cell
 

sub yyy()
Dim rngObj As Range
If Application.CutCopyMode = xlCopy Then
Set rngObj = Application.blinking ' my source(virtual)
MsgBox "the current address of copied cell is" & rngObj.Address
End If
End Sub

*** Sent via Developersdex http://www.developersdex.com ***

Dave Peterson

help, find copied cell
 
Excel doesn't have anything that would allow you to know the range that was
copied.



x taol wrote:

sub yyy()
Dim rngObj As Range
If Application.CutCopyMode = xlCopy Then
Set rngObj = Application.blinking ' my source(virtual)
MsgBox "the current address of copied cell is" & rngObj.Address
End If
End Sub

*** Sent via Developersdex http://www.developersdex.com ***


--

Dave Peterson


All times are GMT +1. The time now is 04:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com