?
Solved

cut filtered-selected rows from a sheet1 then paste in another sheet2

Posted on 2013-01-01
5
Medium Priority
?
627 Views
Last Modified: 2013-01-05
Hi,
I have sheet1 with columns and rows, and did a filter in column A (select first row middle one and last row), when i come and cut these selected rows and paste them in sheet2 , it paste me them. but in sheet1 all the other unselected row vanished.
 
i need to fix this problem by using vba i need to using this cut into a macro.
thnx in regard.
0
Comment
Question by:drtopserv
5 Comments
 
LVL 20

Expert Comment

by:Russ Suter
ID: 38734598
Use Copy and Paste instead of Cut and Paste then the rows will remain in Sheet1 also.
0
 
LVL 34

Expert Comment

by:Rob Henson
ID: 38736230
If you then want to get rid of the filtered rows (and only the filtered rows) deleting the rows while filtered will only delete the visible rows.

Thanks
Rob H
0
 
LVL 31

Accepted Solution

by:
gowflow earned 2000 total points
ID: 38739260
Is this what your looking for ?
Just make sure your macroes are activated and filter this sample file in Sheet1 under any column or combination and activate the button Transfer to Sheet2 and check the results in Sheet2 and then remove the filtering in sheet1 and also check it.

Let me know if it answers your question.
gowflow
TransferFilteredRows.xls
0
 

Author Closing Comment

by:drtopserv
ID: 38747061
Perfect0!!
thanx alot thats what i want exactly :]
0
 
LVL 31

Expert Comment

by:gowflow
ID: 38747109
Your welcome my pleasure glad I could help you.
gowflow
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question