lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I want to copy the selected cells to another part of the sheet by selecting the destination range as well. right now I can only use the destination as a cell/range as it is shown in the code below. I wonder if the destination range can be selected as well (by using the mouse). I tried to select both using CTRL key but then excel gave "multiple selection" error message. Than you.
I want to copy the selected cells to another part of the sheet by selecting the destination range as well. right now I can only use the destination as a cell/range as it is shown in the code below. I wonder if the destination range can be selected as well (by using the mouse). I tried to select both using CTRL key but then excel gave "multiple selection" error message. Than you.
Code:
Sub myselction()
[INDENT]Selection.Copy Destination:=Cells(10, 10)[/INDENT]
End Sub