Thought it about time I tidied up my coding. I know you can use:
Code:
Dim WrdApp as Word.application
Dim StrCaption as string

   'some code here

Set WrdApp = Nothing
Set StrCaption = nothing
To unload the variables at the end of a sub to free up ram & virtual memory, make tider code & speed the rest of the program up. Fine.

Now, how the @#{>/~!!!! do you unload an integer??? I've tried:
Code:
Set i = nothing
i = nothing
unload i         'which I should've guessed wouldn't work.
I just can't get rid of them! (i above is an integer variable by the way). Thanks!