I am trying to make a function to cut/paste values from a cell I will to specify in function to another cell I wioll also specify in function.
I tried:
But I am getting invalid function.
I know this is simple, but I am a beginner in vba, and can not figure it out.
If someone could please help me, I would really appreciate it.
I tried:
Code:
Function Cortar(a As Rannge, b As Range)
Dim a As Range
Dim b As Range
Selection.Cut
a.Select
b.Paste
End Function
I know this is simple, but I am a beginner in vba, and can not figure it out.
If someone could please help me, I would really appreciate it.