D
dvdastor
Hi All,
Hoping to alleviate some confusion I have. I have a stream writer that
created a document containing numerous lines of text. I now want to
open it in Word, but with a specific Template attached. The Template
contains some macros and also limits the styles that are allowed.
When I used Documents.Open I tried Document.AttachedTemplate, but that
does not limit the styles. It brings in the Macros just fine, but the
style enforcement has not been put into effect.
If I use Document.Add, I can definitely open a document based on that
Template (with style enforcement), but then how do I get the
streamwriter text into this new document?
Thanks for any help you can provide.
Hoping to alleviate some confusion I have. I have a stream writer that
created a document containing numerous lines of text. I now want to
open it in Word, but with a specific Template attached. The Template
contains some macros and also limits the styles that are allowed.
When I used Documents.Open I tried Document.AttachedTemplate, but that
does not limit the styles. It brings in the Macros just fine, but the
style enforcement has not been put into effect.
If I use Document.Add, I can definitely open a document based on that
Template (with style enforcement), but then how do I get the
streamwriter text into this new document?
Thanks for any help you can provide.