Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8880267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:08:00+00:00 2026-06-14T20:08:00+00:00

I have been working with excel for a bit, but I have a few

  • 0

I have been working with excel for a bit, but I have a few questions/problems I am facing in Word automation. I currently would like to format a word file dynamically on the fly. The code below is supposed to open an existing file and make changes to two different tables on the same page.

I would like to know how to either add a checkbox from the insert menu dynamically into a table cell, or change the checked state of an already existing checkbox in the table cell. Thanks for any suggestions! Its set to write text values right now, but this is for example until this is figured out..

    Dim oWord = New Microsoft.Office.Interop.Word.Application
    Dim Dir As String = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
    oWord.Documents.Open(Dir & "\welcomeletter.docx")
    Dim oDoc = oWord.ActiveDocument

    oWord.Visible = True

    Dim tbl As Word.Table = oDoc.Tables(1)

    tbl.Cell(1, 1).Range.Text = "Checkbox1"
    tbl.Cell(2, 1).Range.Text = "Checkbox2"

    Dim tbl2 As Word.Table = oDoc.Tables(2)

    tbl2.Cell(1, 1).Range.Text = "Checkbox3"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:08:02+00:00Added an answer on June 14, 2026 at 8:08 pm

    To those seeking an answer, for me was to just use wingdings font and insert a checked box into the fields i require:

    tbl2.Cell(1, 1).Range.Text = chw(253) etc.
    

    I could not find anything on actually editing the checkbox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on a project on and off, but I haven't touched
I have been working with Zend for a few months now and am at
1) I have been working on fetching data from an excel sheet i can
I have been working on an Excel 2010 template for some time and I
I've been working with Excel for many years and I have never come up
I am sorry if this is a silly question but I have been working
I have been working with excel spreadsheets and so far I never had any
Have been working on this question for a couple hours and have come close
I have been working with SQL Server as a Developer a while. One thing
I have been working on a large java application. It is quite parallel, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.