Hi there!
I have a problem with copy and pasting values into another sheet with a button(Macro). I will explain what i mean.
For example, i have 2 columns, A and B in sheet1.
Column A is ID number. (Every ID is unique)
Column B is Orders. (Between 1-50)
Lets say that i have 10 rows with data in both Column A and B.
Row A) B)
1 567 2
2 123 33
3 432 4
4 653 2
5 111 18
6 145 33
7 999 2
8 685 1
9 434 18
10 222 2
After that i filter in column B, and sorting for orders of 2. Witch will look like this after:
Row A) B)
1 567 2
4 653 2
7 999 2
10 222 2
After sorting, i want to copy the first ID number (column A) in to A1 in sheet2 with a button (Macro).
After copying the first ID number, i want the second witch is on row 4. And i want to click the same button witch can find the next ID on orders of 2 and paste it, also on A1 in sheet2.
And so on. So everytime i press the button it goes like this:
"Copy (A1), paste in A1 sheet2"
"Copy next (A4), paste in A1 sheet2"
"Copy next (A7), paste in A1 sheet2"
"Copy next (A10), paste in A1 sheet2"
Can someone help me with that
? Sorry for my English....
I have a problem with copy and pasting values into another sheet with a button(Macro). I will explain what i mean.
For example, i have 2 columns, A and B in sheet1.
Column A is ID number. (Every ID is unique)
Column B is Orders. (Between 1-50)
Lets say that i have 10 rows with data in both Column A and B.
Row A) B)
1 567 2
2 123 33
3 432 4
4 653 2
5 111 18
6 145 33
7 999 2
8 685 1
9 434 18
10 222 2
After that i filter in column B, and sorting for orders of 2. Witch will look like this after:
Row A) B)
1 567 2
4 653 2
7 999 2
10 222 2
After sorting, i want to copy the first ID number (column A) in to A1 in sheet2 with a button (Macro).
After copying the first ID number, i want the second witch is on row 4. And i want to click the same button witch can find the next ID on orders of 2 and paste it, also on A1 in sheet2.
And so on. So everytime i press the button it goes like this:
"Copy (A1), paste in A1 sheet2"
"Copy next (A4), paste in A1 sheet2"
"Copy next (A7), paste in A1 sheet2"
"Copy next (A10), paste in A1 sheet2"
Can someone help me with that
