RE: automatic ms-word to text
- From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Fri, 23 May 2008 09:28:57 -0700
Nod that is what I would do. Now I looked last night and there is not an on
save event per say. There is a DocumentBeforeSave event but I don't think
that will work the way you want. One thing you could do is over write the
save commands like for example you can over write control-s separately from
any of the other ways to save. Then in your VB code you could open a save
dialog get the base file name and save it to how many types you want there
after and your all done.
Ken
_____
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Dale Leavens
Sent: Friday, May 23, 2008 4:32 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: automatic ms-word to text
Oh thanks,
I hadn't thought of that. Do I understand you correctly then, when Word goes
to save I look at the file name and if it is the one I need I then just
force it to save to text?
Now I have used VBA in macros but I don't yet know how to trigger it
automatically, I'll have a look for that in the HELP system later this
morning.
Thanks.
----- Original Message -----
From: Ken <mailto:whistler@xxxxxxxxxxxxx> Perry
To: programmingblind@xxxxxxxxxxxxx
Sent: Thursday, May 22, 2008 11:53 PM
Subject: RE: automatic ms-word to text
All you have to do is write a script in word to do this. You can wait for
the on save event and save the file in as many formats as you wish heck for
that matter you can publish it to the web if you want. If you don't know
VBA I could see if I can dig up the code you need.
Ken
_____
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Dale Leavens
Sent: Thursday, May 22, 2008 7:36 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: automatic ms-word to text
good evening,
I am on this life long mission to move some in-house work into the Windows
environment. It is a long story but for now I process a text file to extract
certain information for processing by a DOS programme. I need to keep this
simple for a sighted user who is also using Word so, I would like to open
one plane text file in Word and when ever updated and saved it should also
be saved as a plane text file. This must be done without the operator having
to remember to save that file in text format while any other files opened
will continue to work as regular .doc files.
I need a reliable method of always insuring that one particular file will
always be handled as a .TXT file. Admittedly this part of the problem is not
a programming issue but I don't want to have to open a text editor along
with teaching the special command set of that editor to be learned.
Thanks.
_____
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.24.0/1460 - Release Date: 5/22/2008
7:06 AM
- References:
- automatic ms-word to text
- From: Dale Leavens
- RE: automatic ms-word to text
- From: Ken Perry
- Re: automatic ms-word to text
- From: Dale Leavens
Other related posts:
- » automatic ms-word to text
- » RE: automatic ms-word to text
- » Re: automatic ms-word to text
- » RE: automatic ms-word to text
- automatic ms-word to text
- From: Dale Leavens
- RE: automatic ms-word to text
- From: Ken Perry
- Re: automatic ms-word to text
- From: Dale Leavens