Check out the use of the system.privateprofilestring function.

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
Thanks Doug for the direction. I however am still running into the same type
of problem only with different error messages and am running myself ragged
trying to get the syntax right. Here is what I have so far:
Sub MakeBkup()
Dim strBodyText As String
With UserForm2
' combine the individual text boxes into a string and write to a
backup text file
strBodyText = UserForm2.AnnounceNum & UserForm2.SummaryText &
UserForm2.ProfileText & UserForm2.ResponText & UserForm2.QualifText
System.PrivateProfileString("c:\usr\solarbackup.txt", "SOLARBackup",
"Text") = strBodyText
End With
End Sub
I am also still fighting with trying to "grab" the current window the
template creates when it starts, so when the code is excuted it starts
running in the correct document. This is what I have for that:
Option Explicit
Private Declare Function GetActiveWindow Lib "user32" () As Long
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long,
ByVal hWndNewParent As Long) As Long
Public WithEvents appword As Word.Application
Public Sub Document_New()
Dim strName As String
Dim iHandleDoc As Long
Dim iHandleForm As Long
Dim iNull As Long
iHandleDoc = GetActiveWindow()
iHandleForm = GetActiveWindow()
iNull = SetParent(iHandleForm, iHandleDoc)
strName = ActiveDocument.FullName
UserForm2.Show
End Sub
Any suggestions would be helpful. Thank you in advance.

Signature
Steven G
"One Day at a Time"
> Check out the use of the system.privateprofilestring function.
>
[quoted text clipped - 24 lines]
> >
> > Thanks,
Doug Robbins - Word MVP - 28 Dec 2006 08:01 GMT
I am not sure from where you are trying to run your MakeBkup code, but
instead of doing that, if I wanted to record the information that was being
entered into a userform, I would use the Exit event of each control on the
form use the System.PrivateProfileString to write the data from that control
to a similarly named "key" in the text file.
I am not sure why you are going to the extremes that you are to grab the
current window. Just use an AutoNew macro in the template to load the
userform.
I doubt that the following applies, but you might want to take a look at it.
"Making a UserForm show above a newly created Word 2000+ document" at:
http://www.word.mvps.org/FAQs/Userforms/KeepUserFmAboveDoc.htm

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
> Thanks Doug for the direction. I however am still running into the same
> type
[quoted text clipped - 75 lines]
>> >
>> > Thanks,
Steven G - 29 Dec 2006 05:28 GMT
Thank you for your reply, I will check in the form exit events, and I will
revisit the autonew macro. I'll let you know what I find.
Once again, thank you for all your help.

Signature
Steven G
"One Day at a Time"
> I am not sure from where you are trying to run your MakeBkup code, but
> instead of doing that, if I wanted to record the information that was being
[quoted text clipped - 91 lines]
> >> >
> >> > Thanks,