troubleshooting Question

Cut/move row if data in one Column

Avatar of Daniel_P67
Daniel_P67 asked on
Microsoft ExcelVB ScriptVisual Basic Classic
9 Comments2 Solutions229 ViewsLast Modified:
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.

Join our community to see this answer!
Unlock 2 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros