1
I have a VBA script that copies a column (from an Excel spreadsheet) with formulas and pastes only the result (Paste Special).
But I would like to automate this task, example:
Whenever you add any information in column "A", the data in column "B" is automatically updated.
Follow an example of the code:
Public Sub pasteVal()
Range("A1:A10").Select
Selection.Copy
Range("B1:B10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _:=False, Transpose:=False
End Sub
Thanks Fabioln, you helped a lot
– Miguel