+ Reply to Thread
Results 1 to 2 of 2

Populate specific cells from sheet 1 to sheet 2 with a checkbox and a button

  1. #1
    Registered User
    Join Date
    05-31-2020
    Location
    Arizona
    MS-Off Ver
    365
    Posts
    1

    Populate specific cells from sheet 1 to sheet 2 with a checkbox and a button

    Hello all,

    I'm hoping someone can help me out.
    I have an excel sheet with 2 tabs - Data and Export.

    I would like to copy specific cells from the Data tab to the Export tab.
    But I only want it on certain rows.

    Ideally I would like to have a checkbox on each row where I can select each row I want to export, I click a button, and the export tab gets populated w/ the cells from each row that is checked.
    Also, is there an easy way to have that checkbox appear anytime I add a new row to the Data tab?
    (attached)

    Im going to start googling how to do this, but figured Id drop a question here as well to help save time.

    Thank you so much for any help.

    Rob
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: Populate specific cells from sheet 1 to sheet 2 with a checkbox and a button

    If I'm not mistaken to get what you mean, my way is to create a userform rather than put checkbox on each row.

    The UserForm has one ListBox which populated with a text representing the row number, like this :
    Row 2
    Row 3
    Row 4
    Row 5
    and so on.

    The user can select one item only in the ListBox,
    can also select multiple items consecutively in the ListBox by dragging,
    can also select mutliple items not consecutively in the ListBox by holding ctrl key in the keyboard while select the non consecutive item.

    The code assumes that the data in Sheet Data has a header in the first row, so the data will always start in row 2 column A.
    Attached Files Attached Files
    Last edited by karmapala; 06-01-2020 at 10:47 AM.

+ 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] If checkbox is checked copy cells from a sheet to another sheet if value equals to combobo
    By cyclodries in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2019, 07:21 AM
  2. Replies: 1
    Last Post: 03-13-2018, 09:16 AM
  3. [SOLVED] Creating macro to populate specific cells from master sheet to work sheet
    By tatyanamarie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2017, 03:19 AM
  4. Button to copy specific cells to another sheet, lock button if cell has text
    By elmerg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2014, 02:10 AM
  5. [SOLVED] Populate specific cells on different sheet with cell contents of a preselected row
    By Mr_Ekid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2014, 10:59 AM
  6. [SOLVED] Adding Checkbox to populate info from one sheet to another sheet.
    By lenoir in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2014, 10:07 AM
  7. [SOLVED] Populate summary sheet with values within specific month column on data sheet...
    By blue91 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-12-2013, 12:11 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