ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying cells (https://www.excelbanter.com/excel-programming/305175-re-copying-cells.html)

Norman Jones

copying cells
 
Hi Erik,

See reponses i n your other thread.


---
Regards,
Norman



"Erik" wrote in message
...
I am currently using the following code:
Private Sub Worksheet_Change(ByVal Target As Range)
'Copy the cells
With Worksheets("Sheet2").Range(Target.Address)
.Value = Target.Value
End With
End Sub
This copies all cells from sheet1 to sheet2. How can I modify this to

copy just a specified range of cells?
Erk





All times are GMT +1. The time now is 09:43 AM.

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