We help IT Professionals succeed at work.
Get Started

Cut/move row if data in one Column

226 Views
Last Modified: 2012-05-11
I have some data that i want to move but am running into an issue, i guess you cant move multiple rows at once in Excel VBA. I was trying to use Range("C:C").SpecialCells(xlTextValues).entirerow.cut then paste the data at the bottom of my list with something like Range("A" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues. But excel is throwing a fit. No matter what paste command i use it will not paste multiple rows.


The only other way to do this that i know of is with a Search in column C and if data is found then move it to the bottom, then loop this a number of times. Is there an easyier way to handle moving the data. I have Attached a sample workbook with a before and after table for reference.

Example.xlsx
Comment
Watch Question
Top Expert 2008
Commented:
This problem has been solved!
Unlock 2 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE