Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Removing Blank spaces?

It's been a while since I've done anything with excel, Can anyone help me
remove blank rows from a column that has lots of data with every other row
being blank. I'm not an expert so please explain in layman's terms. Thank
you,

Rod


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Removing Blank spaces?

sort the sheet on that column, the blank cells will be together. select the rows
and delete them.

--


Gary


"Digital2k" wrote in message
...
It's been a while since I've done anything with excel, Can anyone help me
remove blank rows from a column that has lots of data with every other row
being blank. I'm not an expert so please explain in layman's terms. Thank you,

Rod



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Removing Blank spaces?

Make a copy and test this
Sub DeleteEmptyRow()

On Error Resume Next
Columns("D:D").Select 'Change to column that has blank cells
Selection.SpecialCells(xlCellTypeBlanks).EntireRow .Delete
ActiveSheet.UsedRange
Range("A1").Select
Rows("1:1").Select
Range("B1").Activate
End Sub

"Digital2k" wrote:

It's been a while since I've done anything with excel, Can anyone help me
remove blank rows from a column that has lots of data with every other row
being blank. I'm not an expert so please explain in layman's terms. Thank
you,

Rod



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Removing Blank spaces?

I have an alternative which doesn't involve sorting your data, or
writing a program to do it (even though this is a programming
group)...

Select the row with the blanks in it.
Press F5, then special..
Select 'Blanks' and press ok

This will select every cell which is blank...

Then right click on the of the cells it has selected, press
'Delete...' and select 'Entire Row'

This will delete all the rows you have selected.

Tony


On May 2, 12:59 pm, "Digital2k" wrote:
It's been a while since I've done anything with excel, Can anyone help me
remove blank rows from a column that has lots of data with every other row
being blank. I'm not an expert so please explain in layman's terms. Thank
you,

Rod



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
Removing blank spaces from the ends of email fields? nozzaworld Excel Discussion (Misc queries) 2 February 22nd 10 02:35 PM
Removing Spaces Gary Excel Discussion (Misc queries) 15 January 9th 08 01:14 PM
removing all spaces jamesea Excel Discussion (Misc queries) 4 May 27th 07 02:18 PM
Removing spaces from value using VBA Barb Reinhardt Excel Programming 9 August 3rd 06 08:51 PM
removing spaces Claus Massmann Excel Discussion (Misc queries) 12 March 30th 06 02:23 AM


All times are GMT +1. The time now is 08:45 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"