Macro needed for deleting rows less then 5?
-
Hi everybody I’m looking for a macro that would remove complete rows (not just delete the numbers) that have less than 5 cells because the rest of the rows are empty. Remove the entire row so the remaining rows (that have more than 5 cells with numbers) move up. Deleting only complete rows not cells. Skipping the rows with more than 5 cells for the entire worksheet . Also remove rows that are completely empty without effecting the surrounding formulas Because there is a lot of empty space between them. So I can make the rows in the worksheet more compact . Is this possible? If anyone can help. thank you
-
Answer:
Yes, it's possible. Everything you can do by hand can be done with Macro (and more), you just need to find a way to do it. You will need to write some VB macro (macro with complex conditional cannot be done simply with recording; though you can use the macro record function to leverage learning the VBA layer)
Yahoo! Answers Visit the source
Related Q & A:
- How to add empty rows to the JQGrid?Best solution by Stack Overflow
- How to Compare Rows in SQL?Best solution by Stack Overflow
- How do you set just a general macro on your keyboard?Best solution by microsoft.com
- What is micro and macro?Best solution by Yahoo! Answers
- What is the difference between Economics MICRO and MACRO?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.