1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Insert multiple checkboxes in all sheets at the same time

Discussion in 'Business Applications' started by ladydee94, Jun 19, 2017.

Thread Status:
Not open for further replies.
  1. ladydee94

    ladydee94 Thread Starter

    Joined:
    Feb 23, 2017
    Messages:
    42
    Hi, I have one questions. I wanna ask if is possible to insert multiple checkboxes in all sheets at the same time? I already done many search on internet about this but I gain nothing. It is possible to solve this using excel vba? or there any other way? just wonder. Thanks you for any helps.
     
  2. DataBase

    DataBase

    Joined:
    Jan 15, 2004
    Messages:
    770
    You can do something like this
    Code:
    Private Sub AddCB()
        
        For i = 1 To Worksheets.Count
            Sheets(i).OLEObjects.Add "Forms.CheckBox.1", Left:=Range("A1").Left, Top:=Range("A1").Top, Width:=Range("A1").Width, Height:=Range("A1").Height
        Next i
        
    End Sub
     
  3. ladydee94

    ladydee94 Thread Starter

    Joined:
    Feb 23, 2017
    Messages:
    42
    Hi DataBase,

    Thanks for your reply. How about if:

    1. there are about 50 sheets in one workbook.
    2. I want put checkboxes at column F in all sheets and based on last row of data.
    3. I want when i click macro, automatically insert checkboxes in all sheets at same time and based on criteria no 2.

    hope you can help me. thanks for your help.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1191693

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice