+ Reply to Thread
Results 1 to 3 of 3

How to Select and Copy/Paste Columns Based on Checkbox

  1. #1
    Registered User
    Join Date
    09-12-2009
    Location
    NorCal
    MS-Off Ver
    Excel 2013
    Posts
    12

    How to Select and Copy/Paste Columns Based on Checkbox

    Hi,

    I have a macro that takes an Excel table and copies it into a blank workbook as values. What I need to do is have it only copy columns that have a check box checked. My VBA knowledge is extremely limited (but I'm working on it!), so any help would be greatly appreciated. Below is my existing macro. It was made primarily from recording a macro.

    Please Login or Register  to view this content.
    My plan is to have check boxes above each table column on row 4 (my table starts on row 5).

    Thanks for your help!

  2. #2
    Registered User
    Join Date
    09-12-2009
    Location
    NorCal
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How to Select and Copy/Paste Columns Based on Checkbox

    It doesn't need to be a check box. It could be a simple yes/no if that makes it any easier. Thanks!

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Select and Copy/Paste Columns Based on Checkbox

    Hi krayon

    Please attach a sample workbook the Structure of which is the same as your actual workbook. Please include the Check Boxes.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    INCLUDE ANY CODE YOU'RE USING OR HAVE TRIED.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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] VBA to Select a Picture Based on Formula in Cell Copy then Paste
    By Bobbbo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2015, 08:38 AM
  2. VBA Code to select column based on a date then perform copy/paste and shade
    By tompee29 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-17-2014, 06:25 AM
  3. [SOLVED] Select, Copy and Paste a range within in Worksheet based on current date
    By reynoldslarry in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-02-2014, 06:23 PM
  4. Trying to copy and paste select text based on a list box value
    By WarrenSmiley in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-11-2013, 12:02 PM
  5. [SOLVED] Copy/Paste multiple columns as values based on another columns criteria
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 06:50 AM
  6. Replies: 3
    Last Post: 11-12-2010, 04:31 AM
  7. trying to copy/paste row based on checkbox caption and cell content
    By Zygoid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2007, 06:09 AM

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