Im trying to write vba code for MS Word that will send all the text that is being typed in the word document to a .txt file on the c:\. How do i do this?
Also is there a way of writing to standard output (DOS) from vba?
Thank you
Printable View
Im trying to write vba code for MS Word that will send all the text that is being typed in the word document to a .txt file on the c:\. How do i do this?
Also is there a way of writing to standard output (DOS) from vba?
Thank you
How about instead of writting out to a file every keypress, you just save the
document to a text format upon the document close event or such?
because i am trying to create a spell and grammar check in a foreign language and i want it to be checking the entire time.
do you know of any way?
I just stopped in real quick before I head home. You can create your own WithEvents
to capture the keypress or change events. I will post an example when I get
home.
thank you so much
I remembered I wrote a demo in Word VBA to trap events. Check out this link - post #11.
HTH