Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brian
 
Posts: n/a
Default Deleting every other row

I have a spreadsheet with data in column 1.

every other row is empty, I would like to delete this rows in order to
compact my data.

Thanks.
  #2   Report Post  
Rojee
 
Posts: n/a
Default

Select the data range...
select Edit..then Go to..specials or (ctrl G, then special)
select Blanks then click Ok...proceed to delete operation

-----Original Message-----
I have a spreadsheet with data in column 1.

every other row is empty, I would like to delete this

rows in order to
compact my data.

Thanks.
.

  #3   Report Post  
Rojee
 
Posts: n/a
Default

Select the data range...
select Edit..then Go to..specials or (ctrl G, then special)
select Blanks then click Ok...proceed to delete operation

-----Original Message-----
I have a spreadsheet with data in column 1.

every other row is empty, I would like to delete this

rows in order to
compact my data.

Thanks.
.

  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

Public Sub DeleteBlankRows()
On Error Resume Next 'in case no blanks
Columns(1).SpecialCells(xlCellTypeBlanks).EntireRo w.Delete
On Error GoTo 0
End Sub


If you're not familiar with macros, see David McRitchie's "Getting
Started with Macros":

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

In article ,
"Brian" wrote:

I have a spreadsheet with data in column 1.

every other row is empty, I would like to delete this rows in order to
compact my data.

Thanks.

  #5   Report Post  
Brian
 
Posts: n/a
Default

Thanks Rojee, worked well.

"Rojee" wrote:

Select the data range...
select Edit..then Go to..specials or (ctrl G, then special)
select Blanks then click Ok...proceed to delete operation

-----Original Message-----
I have a spreadsheet with data in column 1.

every other row is empty, I would like to delete this

rows in order to
compact my data.

Thanks.
.


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
Deleting Links CBarcroft Links and Linking in Excel 1 January 5th 05 09:55 PM
deleting a conditional format [email protected] Excel Discussion (Misc queries) 4 December 7th 04 11:45 PM


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

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

About Us

"It's about Microsoft Excel"