Hi all,
First of all apologies as i'm a complete newbie when it comes to VBA!
Ok so i have a spreadsheet which imports the contents of a text file into the next row of an existing spreadsheet doc. I've got that all working fine, but the text file comes from a word form filled out by other users and currently i have to go in to the form and save it as a .txt file then come out and import it in to my spreadsheet.
What I want to do is make this automated. The form itself will always have the same name and file location.
So basically i need to:-
Open Excel spreadsheet and run a macro which:-
Opens a specific word document
Saves that document to a specific location as a .txt file
exits Word
returns to Spreadsheet.
I'm thinking this would be a sub routine so I can run this before i run my other subroutine to take the result and place it in my spreadsheet.
I've tried doing this myself and can get a word doc to open but can't get the doc to save sensibly and in the right format.
Any help would be appreciated.
Thanks in advance.
Bookmarks