Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Copy and Paste between 2 worksheets with VBA
Hello,
I have a workbook that contains only 1 worksheet. Within this worksheet I have rows that contain the word "NONE". I need to put all the rows that contain the word "NONE" on their own worksheet. I have been able to create the worksheet using VBA, but I am am having problems cutting the data from one worksheet and pasting it onto the newly created worksheet. I have tried creating a named range for the column that contains the word "NONE" and then referencing that column using the EntireRow method to try to select the rows that cointain the word "NONE" and paste them onto the new worksheet. How can I cut and paste just the rows that contain the word "NONE" from one worksheet to the other worksheet? Any help, suggestions or useful links will be greatly appreciated. Thank you. Dave Y |
#3
|
|||
|
|||
How about applying Data|Filter|Autofilter
Filter to just show the "none" cells and copy and paste to the new sheet. If you record a macro when you do this, you'll be pretty close! Dave Y wrote: Hello, I have a workbook that contains only 1 worksheet. Within this worksheet I have rows that contain the word "NONE". I need to put all the rows that contain the word "NONE" on their own worksheet. I have been able to create the worksheet using VBA, but I am am having problems cutting the data from one worksheet and pasting it onto the newly created worksheet. I have tried creating a named range for the column that contains the word "NONE" and then referencing that column using the EntireRow method to try to select the rows that cointain the word "NONE" and paste them onto the new worksheet. How can I cut and paste just the rows that contain the word "NONE" from one worksheet to the other worksheet? Any help, suggestions or useful links will be greatly appreciated. Thank you. Dave Y -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
I cannot paste from one workbook to another. Copy works, paste do. | Excel Discussion (Misc queries) | |||
Can't Copy and Paste between Excel 2003 Workbooks | Excel Discussion (Misc queries) | |||
cannot copy and paste worksheets or workbooks | Excel Discussion (Misc queries) | |||
Copy & Paste | Excel Discussion (Misc queries) |