+ Reply to Thread
Results 1 to 8 of 8

How to make an active check box larger?

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    How to make an active check box larger?

    I would like a checkbox in a cell that when checked a check mark appears in the box and when checked again the checkmark goes away. I can get it to work fine except the box is ridiculously small and when you click on the box you get an "X", would rather a check mark. Excel 2010. I pull the box from Developer.Insert.Formcontrols then select the box form.

    The properties size has no effect on the box size. I can get to work fine in MS Word but when pasting into Excel the check mark no longer functions.

    Thanks for any direction.

    ---j:

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: How to make an active check box larger?

    Hi JET2011,

    The Marlett font will probably do what you want. See the attached file which includes the following code:
    Please Login or Register  to view this content.
    To toggle the value, you can probably use the Worksheet 'Double Click' Event.

    Lewis
    Attached Files Attached Files
    Last edited by LJMetzger; 09-17-2015 at 05:08 PM. Reason: Added 'Double Click' sentence.

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: How to make an active check box larger?

    I think too complicated for me Lewis, not sure. Its amazing how dificult this is. I don't see any check box on the spreadsheet. Thanks for the effort.

  4. #4
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: How to make an active check box larger?

    Please note attachment with an active check box that is too small. A more reasonable size example shown. Interesting this is no issue in MS Word – but cut-n-past from word into Excel no go. Maybe that is the simpler solution – find a method to past the active check box from Word. Don’t know – this is the last item for a project been working on for a while.
    Thanks
    -j
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: How to make an active check box larger?

    Please note attachment with an active check box that is too small.
    Your CheckBox is actually a Forms CheckBox. Active X CheckBoxes look worse.

    Unfortunately, I don't know of a way to change the size of the CheckBox 'Check Area'. I know you say it is complicated for you, but this is the best I am able to do with my technical skill. Try the attached file which has samples of:
    a. Forms CheckBox (name usually like 'Check Box 1')
    b. Active X CheckBox (name usually like 'CheckBox1') - no spaces in name.
    c. Cells that simulate CheckBoxes (and requires VBA) using the Marlett Font. To simulate the CheckBox, you have to 'Double Click' the cell to toggle the value.

    The Forms and Active X CheckBoxes use a 'Linked Cell' to get the value in Column 'G'. The 'Simulated CheckBoxes' use a formula to get the 'CheckBox' values in Column 'G'.

    The code is in the 'Sheet1' module. The red highlighted area below can be changed to customized to your range of cells that simulate CheckBoxes.
    Please Login or Register  to view this content.
    To access Visual Basic (VBA) see:
    http://www.ablebits.com/office-addin...a-macro-excel/
    a. Click on any cell in the Excel Spreadsheet (may not be needed).
    b. ALT-F11 to get to VBA.
    c. CTRL-R to get project explorer (if it isn't already showing).
    d. Double Click on a 'Module Name' in 'Project Explorer' to see code for that module.

    To import or export VBA Module Code:
    a. To export, right click on the Module Name in the 'Project Explorer'.
    b. Select export file. I suggest you use a SubFolder that only contains exported (.bas) files.
    Keep the original name.
    c. To import, right click anywhere in 'Project Explorer'.
    d. Select import file. Select a file to import.

    It is a best practice to declare all variables. If you misspell a variable in your code, VBA will silently assume it is a Variant variable and go on executing with no clue to you that you have a bug. Go to the VBA development window, click Tools, Options, and check "Require Variable Declaration." This will insert the following line at the top of all new modules:
    Please Login or Register  to view this content.
    This option requires all variables to be declared and will give a compiler error for undeclared variables.

    Lewis

  6. #6
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: How to make an active check box larger?

    I'm sorry Lewis this would take way to long to understand. Thanks for the efforts.

  7. #7
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: How to make an active check box larger?

    Is there some other method where if someone clicks on a cell it will toggles a true false value. Or maybe has a little pop-up with two choices; say east or west?

  8. #8
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: How to make an active check box larger?

    Without using extremely advance software there are 3 choices that I know of:
    a. 'Double Click' (Double Click Event) a cell (from post #5).
    b. 'Right Click' (Right Click Event) a cell.
    c. Attempt to Click a Cell or attempt to enter a cell (Selection Change Event).

    Any one of the above can cause a toggle of your choice, or cause a 'Pop Up' with 2 or more choices to come up. All the methods still involve VBA code.

    My feeling is that the method from post #5 is the simplest and easiest to use VBA choice you will come across. Using that method, when 'Double Clicking' a cell, a check mark toggles, and the value in a simulated linked cell toggles between TRUE and FALSE.

    There are many solutions in Excel that are a compromise between what you want, and what Excel can give you.

    Lewis

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. make drop downs larger
    By jimboryan in forum Excel General
    Replies: 1
    Last Post: 06-04-2014, 09:22 PM
  2. [SOLVED] Looking to check back three or possibly four cells in a column till it finds the larger
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 04-12-2013, 06:48 PM
  3. Replies: 3
    Last Post: 01-18-2013, 07:53 AM
  4. Increase value if its larger than 3000 or if its payed by check.
    By Janko525 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2012, 03:31 PM
  5. [SOLVED] How do I resize a pie chart created in excel to make it larger?
    By Deborah in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2006, 05:15 AM
  6. Make sheet tabs larger?
    By Ed in forum Excel General
    Replies: 5
    Last Post: 10-27-2005, 04:05 PM
  7. Replies: 3
    Last Post: 10-10-2005, 03:05 PM

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