Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Reeni
 
Posts: n/a
Default Deleting Blank Rows

The problem is there is a blank
rows between blocks of data (37 blocks of data) I want to be able to delete
the blank rows... the blank rows can vary each month...

thanks
--
Reeni
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Norman Jones
 
Posts: n/a
Default Deleting Blank Rows

Hi Reeni,

Assuming that the blank rows are determined by blank cells in column A, try
the following macro:

'=============
Public Sub Tester1()
On Error Resume Next
Columns("A").SpecialCells(xlCellTypeBlanks). _
EntireRow.Delete
End Sub
'<<=============

If you are new to macros, you may wish to visit David McRitchie's 'Getting
Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


---
Regards,
Norman


"Reeni" wrote in message
...
The problem is there is a blank
rows between blocks of data (37 blocks of data) I want to be able to
delete
the blank rows... the blank rows can vary each month...

thanks
--
Reeni



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Norman Jones
 
Posts: n/a
Default Deleting Blank Rows

Hi Reeni,

If you want to perform the operation manually, try:

Select columnA
F5 | Special | select the 'Blanks' option | OK | Right-click | Delete |
Entire row | OK


---
Regards,
Norman


"Reeni" wrote in message
...
The problem is there is a blank
rows between blocks of data (37 blocks of data) I want to be able to
delete
the blank rows... the blank rows can vary each month...

thanks
--
Reeni



  #4   Report Post  
Posted to microsoft.public.excel.newusers
CLR
 
Posts: n/a
Default Deleting Blank Rows

There is a feature in Jim Cone's fine commercial Add-in called XL Companion
that does this nicely............I use it regularly.

Vaya con Dios,
Chuck, CABGx3




"Reeni" wrote:

The problem is there is a blank
rows between blocks of data (37 blocks of data) I want to be able to delete
the blank rows... the blank rows can vary each month...

thanks
--
Reeni

  #5   Report Post  
Posted to microsoft.public.excel.newusers
Dave McBeth
 
Posts: n/a
Default Deleting Blank Rows

Two options; each makes an assumption

Option 1: Assuming there is some semblance of order to the data; simply
sort the data.............blanks will shift to the bottom.

Option 2: Assuming one column of data always has data and as such the cell
in that column is blank is ONLY the blank row........... consider use of the
"Filter" options of EXCELand do the following:

Turn on Filtering by selecting from the Task Bar Data, Filters, Autofilters

This will activate what appears as a dropdown in each of the column header
cells (Row 1)

In the column identified above that contains data in all but the blank rows;
select the "Blanks" from the bottom of the dropdown displayed

Hit enter

Only the "blank" rows will be displayed

Highlight/select the "blank" rows

Hit "delete"

Then go to the header row and reselect the dropdown from row 1 of the column
and select ALL

Hit enter

Your data now appears without the blanks (they are gone).

"Reeni" wrote:

The problem is there is a blank
rows between blocks of data (37 blocks of data) I want to be able to delete
the blank rows... the blank rows can vary each month...

thanks
--
Reeni

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find duplicate rows then deleting them SSHO_99 Excel Worksheet Functions 4 May 4th 07 11:17 AM
How do I move up rows below blank rows in an address? goggem Excel Worksheet Functions 0 May 17th 05 04:01 AM
HOW CAN I AUTOMATICALLY INSERT ALTERNATE BLANK ROWS IN A LIST? Phil A. Excel Discussion (Misc queries) 1 April 19th 05 04:10 PM
Blank Rows Acesmith Excel Discussion (Misc queries) 1 November 30th 04 09:23 PM
How do I remove blank rows in Excel? m28leics Excel Discussion (Misc queries) 2 November 29th 04 11:56 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"