Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I have:
The value of cell can be:
1) Alphanumeric: in this case no problem;
2) Numeric: in this case result1, result2 and result3 are not calculated (error 2042).
Could you help me?
Thank's.
I have:
VBA Code:
For Each cell In sheets(1).Range("E2:E" & len)
result1 = Application.VLookup(cell, rng1, 3, False)
result2 = Application.VLookup(cell, rng1, 17, False)
result3 = Application.VLookup(cell, rng1, 18, False)
Next cell
The value of cell can be:
1) Alphanumeric: in this case no problem;
2) Numeric: in this case result1, result2 and result3 are not calculated (error 2042).
Could you help me?
Thank's.