I'm new in VBA and I want something very simple: To copy a cell value to another cell. So I'm trying to make a function:
Function CopyCell(Cell1, Cell2)
Range(Cell1).Value = Cell2
End Function
I want to copy the value of Cell1 into Cell2. (C'mon, I'm a begginer!)
Didn't work, the cell where I used this function returns "#value!" what I'm doing wrong?
Function CopyCell(Cell1, Cell2)
Range(Cell1).Value = Cell2
End Function
I want to copy the value of Cell1 into Cell2. (C'mon, I'm a begginer!)
Didn't work, the cell where I used this function returns "#value!" what I'm doing wrong?