+ Reply to Thread
Results 1 to 5 of 5

Remove/Edit text from checkbox

  1. #1
    Registered User
    Join Date
    07-16-2018
    Location
    USA
    MS-Off Ver
    windows 10
    Posts
    5

    Remove/Edit text from checkbox

    How does one remove the text from check box. I just want the checkbox with black outline.
    I have this.

    Please Login or Register  to view this content.
    Last edited by softedges; 07-18-2018 at 01:52 PM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Remove/Edit text from checkbox

    Hi,

    You'll be glad to hear there's a simple fix for this that involves adding one line of code.
    But before I can give that to you you'll need to stick to the forum rules and add code tags in your post above.

    Edit the post, select the code then click the # icon and save the changes.

    BSB

  3. #3
    Registered User
    Join Date
    07-16-2018
    Location
    USA
    MS-Off Ver
    windows 10
    Posts
    5

    Re: Remove/Edit text from checkbox

    BSB, I was wondering how to do that. Thank you!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Remove/Edit text from checkbox

    No problem at all

    Add the red line below.
    Please Login or Register  to view this content.
    BSB

  5. #5
    Registered User
    Join Date
    03-23-2023
    Location
    Boston, MA
    MS-Off Ver
    Newest
    Posts
    2

    Re: Remove/Edit text from checkbox

    1. How can I modify this to set the checkbox referenced below to have no text?
    2. How can I link a cell number like $B$2, but with the 2 being an incremented number from the for/next loop?
    _______________________________
    Sub CheckBoxCopy()
    myTop = 0

    Application.ScreenUpdating = False
    Application.Calculation = xlCalculationManual
    For x = 1 To 20

    ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
    DisplayAsIcon:=False, Left:=0, Top:=myTop, Width:=64, Height:=20 _
    ).Select

    myTop = myTop + 15
    Next x

    Application.ScreenUpdating = True
    Application.Calculation = xlCalculationAutomatic

    End Sub

+ 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. Replies: 13
    Last Post: 07-28-2017, 07:58 AM
  2. remove line or lines from a text file using vba if checkbox is true
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2016, 02:12 PM
  3. Edit/Remove Partial Text in each Row, HOW??
    By excelboxnovice in forum Excel General
    Replies: 1
    Last Post: 03-07-2016, 02:06 AM
  4. macro remove if mark in checkbox
    By MetteGaga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2016, 05:19 AM
  5. [SOLVED] Add/ Remove a specifc text string to a cell based on a checkbox
    By Grilleman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2014, 03:24 PM
  6. [SOLVED] Remove data when checkbox is unchecked
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2013, 10:13 PM
  7. Trying to edit colored text using VBA without losing my different colors upon edit
    By pglufkin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2012, 02:50 PM

Tags for this Thread

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