You'll need to interact with word and excel via active x controls. If you look at the code for xlsread, you'll see how. - Basically, it uses visual basic commands, which you can access via xl or word already.
drag and drop word files to thisword control and then click the word converting menue toconvert word to other formats including pdf jpg. i haven't tried .xls. so i am not sure about whether it can make it . but it is very powerful in converting, so i have confidence on it.