Hello,
I am not an experienced programmer but I am trying to write a VBA Excel macro to find a certain value in a range of cells and copy it to another cell in a different worksheet.
I found the following problem: Once you enter a value, if there is no such value in the range of cells, there is an error message from the compiler and the macro run is interrupted. The find command line I am using is:
Range("A10:A34").Find(What:=VlrNominal).Activate
t = ActiveCell.Value
where VlrNominal receives an input value from the user and variable t stores it.
Is there another way to look for a cell value avoiding this problem?
Please check if the above information is enough.
Thank you for your help.
Claudia