ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can I copy the values of all selected cells to the same cells inanother Sheet (https://www.excelbanter.com/excel-programming/369714-how-can-i-copy-values-all-selected-cells-same-cells-inanother-sheet.html)

[email protected]

How can I copy the values of all selected cells to the same cells inanother Sheet
 
Hi all,

how can I copy the values of all selected cells to the same cells in
another Sheet ?

Thanks for any help !

Hans


Bernie Deitrick

How can I copy the values of all selected cells to the same cells in another Sheet
 
Dim myCell as Range

For Each myCell In Selection
Worksheets("Other Sheet").Range(myCell.Address).Value = myCell.Value
Next myCell


HTH,
Bernie
MS Excel MVP


wrote in message ...

Hi all,

how can I copy the values of all selected cells to the same cells in another Sheet ?

Thanks for any help !

Hans


[email protected]

How can I copy the values of all selected cells to the same cells inanother Sheet
 
Thank you, Bernie,

it works fine !

Hans





All times are GMT +1. The time now is 08:57 AM.

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