Hi,
I have found help from the Thread
but the problem of mine is I want to copy data to another sheet in same workbook. Then what will be the code is?
Thanks in Advance
I have found help from the Thread
the Code isCopy cells selected by user and paste to location that they select
Code:
Sub YesMacro()
On Error Resume Next
Set Ret = Application.InputBox(Prompt:="Please select a range where you want to paste", Type:=8)
On Error GoTo 0
If Not Ret Is Nothing Then
Selection.Copy
Ret.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End If
End Sub
Thanks in Advance