+ Reply to Thread
Results 1 to 2 of 2

Adding a checkbox to a table

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Adding a checkbox to a table

    Hello everyone

    I am trying to add a checkbox to a table and then set its name and check it. I manage to add it but when I try to use the checkbox I get "Object variable or with block variable not set"

    I use vba in excel to create a word document and manipulate it

    The relevant code is this:

    Please Login or Register  to view this content.
    I tried changing the with block to

    Please Login or Register  to view this content.
    But then I get "Method or data member not found" error.

    What am I doing wrong?

    Thanks in advance
    Last edited by Brunstgnegg; 08-11-2010 at 03:19 AM.

  2. #2
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: Adding a checkbox to a table

    I had this answered in another subforum. The trick is to collapse the range of the cell before adding the checkbox.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1