View Single Post
 
Old 11-25-2017, 11:38 AM
gerison gerison is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Nov 2017
Posts: 8
gerison is on a distinguished road
Default Save Document as Text File

Hello! I'm new here and to be frank, I have no clue how vba works. Nevertheless I need to solve a particular problem. I tested the script in https://www.msofficeforums.com/word-...rent-file.html to save the current .docx firl as .txt. It works quite right. Nevertheless the new file always is stored in the root documents folder. Not in the folder in which the to be converted file is saved. How can I solve this problem? I need the file to be in the same directory. In addtion: I would afterwards have to open the txt file in the standard application for .txt files. (maybe word is closing in the same moment). Can anyon provide a solution for that.
Reply With Quote