Macro and lists

jstarr_iv

New Member
Joined
Aug 8, 2011
Messages
2
I need to figure out how to make a few different macro's. Here is the layout. On the first sheet "Data" is rows of data. The first row is the header, the following rows are the data. Column A and B has check marks, and the rest of the column has the data. The second sheet, "print list" is where the data will be transfered back and forth to, with the same layout as the "Data" sheet except that Column A contains a Macro enabled button, and column B is just a black cell. The "Print list" is associated with MailMerge in Word.
This is what I need to do. In the "Data" sheet, where all the data is contained, there will be rows and rows of information. If I click the checkmark on column A for any of the rows, it will copy and paste that onto the first available row on the "Print List" sheet regardless of the order checked. Then when I am done with mail merge, I can go to the "Print List" sheet and click the Column A button, which activates a macro to erase that row of information, and that in turns goes to the "Data" sheet, to that same row that had the information, takes off the Column A checkmark, and puts a checkmark into Column B.
For example, if I am on the "Data" sheet, and I put a check mark onto the Column A, row 5, 10, and 20, it will copy those rows of information and insert that into the "Print List" sheet. So then on the first 3 available rows, it will contain the information from row 5, 10, and 20. Then when I am in the "print list" sheet, I click on column A for the information containing row 10, it will delete that Column, go to the "data" sheet, find row 10, take off that checkmark in column A, and put a checkmark in column B. I hope this makes sense. I am STUCK!:(
 

Some videos you may like

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

jstarr_iv

New Member
Joined
Aug 8, 2011
Messages
2
Also if I need to make a hidden column that contains the Row number, so that the macro can find that Column containing the Row number information, and find which to checkmark in the "data" sheet since the "print sheet" will be in different order.
 

Watch MrExcel Video

Forum statistics

Threads
1,102,039
Messages
5,484,323
Members
407,436
Latest member
Szafranski

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top