I'm passing a string variable byRef into a Public Sub.
Its values changes in the subroutine and can read at Exit Sub
However when it returns to the code that called it, the variable is an empty string.
Just in case I had this wrong I tried byVal but it did the same thing.
This isn't right is it ? Should't it keep its changed value?
Its values changes in the subroutine and can read at Exit Sub
However when it returns to the code that called it, the variable is an empty string.
Just in case I had this wrong I tried byVal but it did the same thing.
This isn't right is it ? Should't it keep its changed value?