The problem is, I don't want them to save it, but send it directly to me. I
can accomplish this with activedocument.sendmail -- but that requires the
user to type in my email address, and I want it to be automated if at all
possible. This is driving me crazy!!
> > Private Sub Commandok_Click()
> > Application.ScreenUpdating = False
[quoted text clipped - 17 lines]
> > Set GWApp = CreateObject("NovellGroupWareSession") ' login to GW
> > 'Login using () will login to the open account or run the login
Doug Robbins - Word MVP - 02 Jan 2008 21:01 GMT
Save it and then Kill it if you do not want a copy retained.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> The problem is, I don't want them to save it, but send it directly to me.
> I
[quoted text clipped - 23 lines]
>> > Set GWApp = CreateObject("NovellGroupWareSession") ' login to GW
>> > 'Login using () will login to the open account or run the login
Tony Jollans - 03 Jan 2008 00:24 GMT
I'm afraid you won't be able to do this - or at least not very easily. When
you use the UI, Word saves a copy in a temporary folder which it can then
attach to the e-mail (where probably depends on the e-mail client you use).
And you need to do the same, which, for you, means duplicating the document
(not always a straightforward task with an unsaved document - it depends on
your content) and determining a temporary location to use that will be
tidied up later - or doing your own tidy up and for this you need to be sure
that the temporary copy is not needed any more before you delete it. I'm
talking round this because I have never done it and am not entirely sure of
all the factors you need to consider.

Signature
Enjoy,
Tony
> The problem is, I don't want them to save it, but send it directly to me.
> I
[quoted text clipped - 23 lines]
>> > Set GWApp = CreateObject("NovellGroupWareSession") ' login to GW
>> > 'Login using () will login to the open account or run the login