someone please put me out of my misery. i have finally broken down after 5 hours of struggle and decided to ask for help.
this is the situation.
sheet 1
<tbody>
</tbody>
sheet 2
<tbody>
</tbody>
i will have multiple sheets like this, about 10 in total each having different columns apart from the first 3.
I need to create a macro so that when i enter a case letter (eg A) in a cell and run the macro, it gives me this result in a new sheet.
sheet 3
<tbody>
</tbody>
i need only the columns with same headings to be copied. i dont care for the rest. the arrangement of the first 3 columns will be same in all sheets..only the last few columns will be different. but that shouldnt be a problem right? because i dont need those last few different columns.
Im still learning vb so new to the codes, if someone could please write for me a simple to understand code that i can modify.
Thanks.
this is the situation.
sheet 1
Case | date | name | product | price |
A | 10-oct | john | mobile | 1000 |
B | 15-oct | mark | tv | 1500 |
<tbody>
</tbody>
sheet 2
case | date | name | category | purpose |
A | 16-oct | anthony | phone | repair |
D | 30-oct | mathew | laptop | fix |
E | 1-nov | someone | something | something |
<tbody>
</tbody>
i will have multiple sheets like this, about 10 in total each having different columns apart from the first 3.
I need to create a macro so that when i enter a case letter (eg A) in a cell and run the macro, it gives me this result in a new sheet.
sheet 3
case | date | name |
A | 10-oct | john |
A | 16-oct | anthony |
<tbody>
</tbody>
i need only the columns with same headings to be copied. i dont care for the rest. the arrangement of the first 3 columns will be same in all sheets..only the last few columns will be different. but that shouldnt be a problem right? because i dont need those last few different columns.
Im still learning vb so new to the codes, if someone could please write for me a simple to understand code that i can modify.
Thanks.