I'm not sure I explained so you guys understood what I wanted with the code.
It is like this.
I have created a variable (long) called Temp2.
Temp2 is used to store numbers created by a nother procedure. That is working fine and is nothing I need help with here. What I need help with is how can I put this number that is stored in the Temp2 variable into the sheet (OutSh). Can it be done using the same method as described above with the (Destination:=) method? It would be great if it could check for the last row, just like the code above does and put it there and use the offset to select column, like the code below (although that code use range as input instead of Temp2)
Thanks for you help, I understand now that I did not explain well enough before what I wanted the code to do.
Bookmarks