boneKrusher
04-08-2006, 03:29 PM
Does anyone know how to Export Yes/No Value to Word Checkbox? This is what I have so far.
Dim path As String
Dim objWord As Object
pathx = CurrentProject.path & "\file.dot"
Dim dtnow As String
DoCmd.SetWarnings False
Set objWord = CreateObject("Word.Application")
objWord.Visible = False 'True is visible
'path and name of the template your are using.
objWord.Documents.Add (pathx)
If Me.FAA145 = -1 Then
objWord.ActiveDocument.Bookmarks("check1").Select
objWord.Selection.CheckBox = 1
End If
Dim path As String
Dim objWord As Object
pathx = CurrentProject.path & "\file.dot"
Dim dtnow As String
DoCmd.SetWarnings False
Set objWord = CreateObject("Word.Application")
objWord.Visible = False 'True is visible
'path and name of the template your are using.
objWord.Documents.Add (pathx)
If Me.FAA145 = -1 Then
objWord.ActiveDocument.Bookmarks("check1").Select
objWord.Selection.CheckBox = 1
End If