Visual Basic and Word Checkmark

Hi,

I'm trying to add a check mark to a check box in word from Visual Studio, I'm using bookmarks to write directly in to a template word document from visual studio, everything works great except I don't know how to add a check mark to a check box that's in my word document, is this at all possible?

Thank you,

Fred
FCapoAsked:
Who is Participating?
 
CodeCruiserCommented:
Try

wrddoc.FormFields("CkBox1").CheckBox.value=True

replace the ckBox1 with your checkbox name.
0
 
FCapoAuthor Commented:
Amazing That worked great, thank you so much!
0
 
CodeCruiserCommented:
Glad to help :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.