How to detect non-contiguous data?

Hello - I have a data entry spreadsheet (Excel 2010) where several users collaborate to enter safety awards data for their corporate divisions. Despite voluminous instructions to the contrary, somebody always wants to copy & paste, and then paste several rows waaaaay down the input sheet after dozens, if not hundreds, of blank rows.

This causes problems with charting , and before each quarter, somebody has to go in and clean up the spreadsheet to make sure everything gets reported.

If there a VBA routine that can run to detect these non-contiguous blocks of data?

Thanks
mlagrangeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

Select all columns columns with data and then sort the data by one of the columns. That will push all blank rows to the bottom.

cheers, teylyn
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
This is not a duplicate. It addresses a different problem. The other question is about handling hidden columns and avoiding overwriting formulas with copy and paste operations. This one is about handling empty rows and the approach to a solution is different.
0
mlagrangeAuthor Commented:
Teylyn is correct - 2 different questions. Sorry about not responding sooner; I got pulled away on other things.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

mlagrangeAuthor Commented:
Thanks for your response, but I was looking a VBA routine that the users could kick off from a button or link on the spreadsheet.
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Well, turn on the macro recorder, then do what I suggested above. Stop the macro recorder There is your VBA routine.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mlagrangeAuthor Commented:
Slappin' my forehead... ok, thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.