PC Review


Reply
Thread Tools Rate Thread

How can I show only rows that have data in excell 2003?

 
 
myqs
Guest
Posts: n/a
 
      19th Nov 2008
How can I show only rows that have data in excell 2003?
 
Reply With Quote
 
 
 
 
KC Rippstein hotmail com>
Guest
Posts: n/a
 
      19th Nov 2008
Use Data > Auto-Filter to show only "Non-Blanks"
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"myqs" wrote:

> How can I show only rows that have data in excell 2003?

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      19th Nov 2008
Running this little macro will hide all the rows with no content:

Sub servient()
Dim nLastRow As Long

Set r = ActiveSheet.UsedRange
nLastRow = r.Rows.Count + r.Row - 1
Range("A" & nLastRow + 1 & ":A" & Rows.Count).EntireRow.Hidden = True

For i = 1 To nLastRow
If Application.WorksheetFunction.CountA(Rows(i)) = 0 Then
Rows(i).Hidden = True
Else
Rows(i).Hidden = False
End If
Next
End Sub
--
Gary''s Student - gsnu200814


"myqs" wrote:

> How can I show only rows that have data in excell 2003?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get data from Excell - identify grouped rows DianePDavies Microsoft Access VBA Modules 3 23rd Oct 2008 10:59 AM
Excell Data Filter Fails to Integrate New Data-rows =?Utf-8?B?UmljaGFyZC00NA==?= Microsoft Excel Misc 2 10th Nov 2007 03:30 AM
How do I hide rows in excell 2003, and see the + sign to open? =?Utf-8?B?Uy5MLkpvaG5zb24=?= Microsoft Excel Worksheet Functions 2 21st Jun 2005 08:30 PM
Excell 2003 does not show result for data filer =?Utf-8?B?RXhjZWxsIDIwMDMgRGF0YSBGaWx0ZXI=?= Microsoft Access External Data 1 12th Jan 2005 02:36 AM
Excell 2003 does not show line number 2 in certain circumstances =?Utf-8?B?R2VvZmY=?= Microsoft Excel Crashes 1 11th Jan 2005 08:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 PM.