
HELP with .Bookmarks("variable").Range.InsertFile
Hi Gerrit,
The code itself isn't activating the Email envelope, something else must be
doing it. If you open this "alg_standaardtekst" file directly into Word, does
it also activate the email envelope?
If you don't like that, go to File/Send To and select Email Recipient. That
should toggle this off...
Quote:
> The following code causes my Word-document to behave like an e-mail message
> (with the .doc in attachement) and the outlook-headers for an e-mail.
> The code is called in my userform.
> With ActiveDocument
> .Bookmarks("alg_standaardtekst").Range.InsertFile
> FileName:="C:\bestelling.doc", Link:=True
> End With
> How do I prevent this from happening?
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)