Dimitris254
Board Regular
- Joined
- Apr 25, 2016
- Messages
- 139
Rich (BB code):
vararray_test(i, 1) = vararray_test(i, 1) * Worksheets("exchange_rate").Cells(1, "B").Value
i got one variant array in a local currency, then convert it to EUR (i do this for more values, hence the loop). The variant is filled with a range from a sheet "data". The cell (1, "B") holds the exchange rate for that currency.
The result is correct with and without the Value. Why?
Also, is it possible to convert the whole array to USD, by simply:
Rich (BB code):
' today's EUR to USD exchange rate = 1.15
vararray_test= vararray_test * 1.15
Last edited: