H
Hollis D. Paul
I have created a script that opens an Outlook message, opens a Word
Document, copies the message HTMLbody property into the document, then
saves the document as a XML file. I have taken the subject property of
the message, massaged it a little, and want to set the document's Title
and Topic (perhaps Subject) properties in the documents BuiltIn
Properties collection. Well, at least, I think that's what I am trying
to do. I want to see the string I have created in those fields when I
open the document and click properties.
When I open a word document, go to VBA, and use F2 to get the object
browser, the DocumentBuiltInProperties appears as a read only object.
I was told that some of the DocumentBuiltInProperties members were
settable. However, executing the code always kills the operation of
the script.
So, does anyone know of some other object or method that will allow me
to set those fields that I see when I open the document and then click
File-->Properties?
I figure that if I can do it from the UI, there has to be a way to do
it programmatically, and I have about 150 messages to run this script
on.
Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
Mukilteo, WA USA
Document, copies the message HTMLbody property into the document, then
saves the document as a XML file. I have taken the subject property of
the message, massaged it a little, and want to set the document's Title
and Topic (perhaps Subject) properties in the documents BuiltIn
Properties collection. Well, at least, I think that's what I am trying
to do. I want to see the string I have created in those fields when I
open the document and click properties.
When I open a word document, go to VBA, and use F2 to get the object
browser, the DocumentBuiltInProperties appears as a read only object.
I was told that some of the DocumentBuiltInProperties members were
settable. However, executing the code always kills the operation of
the script.
So, does anyone know of some other object or method that will allow me
to set those fields that I see when I open the document and then click
File-->Properties?
I figure that if I can do it from the UI, there has to be a way to do
it programmatically, and I have about 150 messages to run this script
on.
Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
Mukilteo, WA USA