+ Reply to Thread
Results 1 to 3 of 3

VBA to show cell information using a check-box

  1. #1
    Forum Contributor
    Join Date
    07-30-2014
    Location
    Mosman, Australia
    MS-Off Ver
    2013
    Posts
    118

    VBA to show cell information using a check-box

    Hi there,

    I have a spreadsheet full of data and I want to insert a check-box in one column next to all the data. Each row is a single entry spread over a few columns. I have a second sheet which is to be printed with the information from each row.

    Is there a way where if I tick a check-box, the information on that row will appear in the printable page.

    For example, I have four rows of data filled out. I don't want to print row 1 or 2, but I tick the box for rows 3 and 4. I want these to appear on the printable page, in the same order I have ticked them, row 3 being placed in the first row of the printable page and row 4 being placed in the second row of the printable page.

    Is this possible?

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: VBA to show cell information using a check-box

    I would suggest you take a look here to get ideas, the specific code is the next step
    http://www.extendoffice.com/document...heckboxes.html
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: VBA to show cell information using a check-box

    Hi, Cremorneguy,

    IŽd get away from the idea of using Checkboxes and use a ListBox (with checkboxes activated) for that. Besides: from which origin, Forms or ActiveX? As many as you have data or reuse one and keep the information in the line?

    You could use a simple Lookup/Macth Index to get the information over.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. [SOLVED] Cell w/link formula to show as empty for VBA check before saving
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2014, 04:30 PM
  2. Replies: 10
    Last Post: 08-12-2013, 12:02 PM
  3. Replies: 4
    Last Post: 08-29-2012, 02:45 PM
  4. Show all information with a certain value
    By JohannesEngelbert in forum Excel General
    Replies: 1
    Last Post: 10-16-2010, 03:28 PM
  5. Replies: 1
    Last Post: 08-12-2010, 04:36 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