G
Guest
I want to create a command button on my form to export data in the database
to a word doc. I'm not for sure on what docmd to use. Please help!!! Below is
what I have so far.
Public Sub SubLetters()
'Export Data to SubLetters
Dim strmsg As String
Dim strmsg As string1
strmsg = " Are you ready to import data to the Sub Letters?"
strmsg1 = "Export completed"
If MsgBox(strmsg, vbYesNo, "Export File") = vbYes Then
to a word doc. I'm not for sure on what docmd to use. Please help!!! Below is
what I have so far.
Public Sub SubLetters()
'Export Data to SubLetters
Dim strmsg As String
Dim strmsg As string1
strmsg = " Are you ready to import data to the Sub Letters?"
strmsg1 = "Export completed"
If MsgBox(strmsg, vbYesNo, "Export File") = vbYes Then