?
Solved

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

Posted on 2013-01-01
5
Medium Priority
?
621 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 33

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

766 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