I am trying to make change to the array named arraySrc in the following manner:
Dim arraySrc(0 To 1) As Integer
arraySrc(0) = 1
arraySrc(1) = 2
Dim arrayTmp
arrayTmp = arraySrc
arrayTmp(0) = 0
arrayTmp(1) = 1
Actually, I want to use one name as a handle to make change to multiple arrays individually by case, for example, I have a function to return the array name, I want to then set the returned array name to arrayTmp, then make change to arrayTmp directly using the format arrayTmp(0)=0 eg, hoping to make change to the original array
However, by using variant doesn't work. Can anybody please let me know how to implement this?

Dim arrayTmpis variant type bye default as you have not declared explicitly the data type. What is not working? What you are doing is changing the values inarrayTmp.