It looks like your code is overwriting each previous text file leaving you with just the last slide.
You will need to move the write text file out of the loop.
Table text will only be built up if you loop through the cells there are examples on Shyam Pillai's site
I don't understand the hyperlink bit, text files in Notepad don't have hyperlink capability AFAIK.