![]() |
copying non-adjacent cells
Hi,
Say you have several non-adjacent cells selected. How can you copy&paste the contents of these cells with the pasted cells also non-adjacent? ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
copying non-adjacent cells
Example to copy to the next sheet in the same place
Sub Test() For Each myarea In Selection.Areas With myarea .Copy Destination:=.Parent.Next.Range(.Address) End With Next myarea End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "hke" wrote in message ... Hi, Say you have several non-adjacent cells selected. How can you copy&paste the contents of these cells with the pasted cells also non-adjacent? ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
All times are GMT +1. The time now is 12:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com