NicoilGreco
New Member
- Joined
- Jun 8, 2015
- Messages
- 1
Hi all and thanks in advance for your precious help. I'm trying without success to run the code below. Is there anyone who knows what's wrong?
Sub try1()
Dim ex_date As Range
Set ex_date = Range(Range("r51").Column, Range("r51").End(xlDown).Row)
Application.ActiveWorkbook.ActiveSheet.Range("ex_date").Select
Selection.Copy
Range("b51").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("b51").Select
Application.CutCopyMode = False
End Sub
Sub try1()
Dim ex_date As Range
Set ex_date = Range(Range("r51").Column, Range("r51").End(xlDown).Row)
Application.ActiveWorkbook.ActiveSheet.Range("ex_date").Select
Selection.Copy
Range("b51").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("b51").Select
Application.CutCopyMode = False
End Sub