There is literally a problem with every line of code. Literally. Where should we start? Naming convention or the re-dims, or the data size thing, checking if wpm succeeded or ? idk...
Do you know the sizes of each core data type? Do you know what Function over-loading is? Arrays? API's, anything about virtual memory? etc etc? -Your 2nd function uses a passed-in parameter to return data, but doesn't actually have a Return statement. Huh?
-You need to start learing the vb langauge before you try 'Hacking memory' - it's a complicated subject and you apparently don't know vb well enough to structure the code correctly. Do the basic InputBox("what is your name/age") etc etc type code until you understand the data-type thing a little better?