O
OHM \( Terry Burns \)
This is slightly off topic I know but Im tearing my hair out and have not
had any real luck in the word newsgroups.
Word 2003, Windows XP
Code runs on new document which sets text from a userForm at various
bookmarks I have set up. Receipients address, Subject Line, and Dear ??? etc
all basic stuff.
It then goes on to set the ActiveDocument.BuiltInProperties("Title").value
to the same as the Subject line. This is in order to force word to use this
as the default name when saving . The problem is that when you set this
programitically, in order for it to take effect in this respect you seem to
have to open up the properties and then OK it.
So, there is a Content tab on the properties dialog, this seems to contain a
single entry called "This" ( Same as the default title name ), which gets
altered to the correct Title value once OK's.
It only seems to happen when you fave fired off the new document event.
Does anyone know how to get around this infuriating problem, Ive been
working on this for hours now.
Regards - Terry
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
had any real luck in the word newsgroups.
Word 2003, Windows XP
Code runs on new document which sets text from a userForm at various
bookmarks I have set up. Receipients address, Subject Line, and Dear ??? etc
all basic stuff.
It then goes on to set the ActiveDocument.BuiltInProperties("Title").value
to the same as the Subject line. This is in order to force word to use this
as the default name when saving . The problem is that when you set this
programitically, in order for it to take effect in this respect you seem to
have to open up the properties and then OK it.
So, there is a Content tab on the properties dialog, this seems to contain a
single entry called "This" ( Same as the default title name ), which gets
altered to the correct Title value once OK's.
It only seems to happen when you fave fired off the new document event.
Does anyone know how to get around this infuriating problem, Ive been
working on this for hours now.
Regards - Terry
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--