Advertisement

09.11.2008 at 01:59AM PDT, ID: 23722145
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

Delete empty rows and empty colomns with only first cell filled

Asked by thijs321 in Visual Basic Programming, Microsoft Excel Spreadsheet Software

Tags: , ,

I'm looking for two macro's. One to delete all rows with only colomn A filled and one to delete all colomns with only row 1 filled.
This way i can clear all rows / colomns with only their indicators filled.
I want to do this in to seperate macro's because i need to use them in different files.
I've added a picture showing the info i need deleted in red and i already have a macro deleting completely empty rows which i added below. I don't need to use this macro but maybe it's easier for you.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
Sub clearEmptyRows()
'
' clearEmptyRows Macro
' Remove all empty rows
'
  Dim r As Long
  Dim C As Range
  Dim N As Long
  Dim Rng As Range
 
  On Error GoTo EndMacro
  Application.ScreenUpdating = False
  Application.Calculation = xlCalculationManual
 
  If Selection.Rows.Count > 1 Then
  Set Rng = Selection
  Else
  Set Rng = ActiveSheet.UsedRange.Rows
  End If
  N = 0
  For r = Rng.Rows.Count To 1 Step -1
  If Application.WorksheetFunction.CountA(Rng.Rows(r).EntireRow) = 0 Then
  Rng.Rows(r).EntireRow.Delete
  N = N + 1
  End If
  Next r
 
EndMacro:
  Application.ScreenUpdating = True
  Application.Calculation = xlCalculationAutomatic
  Application.Goto Reference:="clearEmptyRows"
End Sub
Attachments:
 
the info i need removed from an example table
the info i need removed from an example table
 
[+][-]09.11.2008 at 03:20AM PDT, ID: 22447996

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 03:22AM PDT, ID: 22448010

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 03:23AM PDT, ID: 22448023

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 04:24AM PDT, ID: 22448456

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 04:46AM PDT, ID: 22448588

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 04:59AM PDT, ID: 22448680

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 05:05AM PDT, ID: 22448720

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 05:09AM PDT, ID: 22448743

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Excel Spreadsheet Software
Tags: Microsoft, Excel, 2007
Sign Up Now!
Solution Provided By: saurabh726
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.11.2008 at 05:10AM PDT, ID: 22448751

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 05:25AM PDT, ID: 22448863

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2008 at 05:30AM PDT, ID: 22448914

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628