bonekrusher
Registered User.
- Local time
- Yesterday, 21:12
- Joined
- Nov 19, 2005
- Messages
- 266
Hi all,
Does anyone know how to Export Yes/No Value to Word Checkbox? This is what I have so far.
Does anyone know how to Export Yes/No Value to Word Checkbox? This is what I have so far.
Code:
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