Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Selecting Rows

Hi,
I'm importing into XL data from an MS-DOS application, I really don't
know what type it is. I have to delete lots of bits and pieces which are
different on each download so it has to be done manually.
When I'm done, I end up with the data I want, but with a row beneath
each meaningful row that is not empty, but of no use to me, and I want to
delete all these rows. There can be up to 1500 or more rows and deleting
every other row by hand is very tedious.
Could anyone please explain how to SELECT every other row, either odd or
even so I can delete them? I don't want to delete automatically as I want to
check it first,
TIA,
Regards,
Alan.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Selecting Rows

Alan,

Don't know if this will help but if there is a column in your "useless" rows
that is blank, and cells in the "good" rows always have something you can do
this:

Select this column.
GoTo Special Blanks
Delete Entire rows

You can record this and build a macro.

If there is an identifiable 'string' in these rows that is not in the other
rows,
you can precede the above with a Replace 'string' With
(don't put anything in the with box).

This is a fast approach to delete blank rows.
Other wise you have to build a loop and start from the bottom.
(this is the slow way)

--
sb
"Alan" wrote in message
...
Hi,
I'm importing into XL data from an MS-DOS application, I really don't
know what type it is. I have to delete lots of bits and pieces which are
different on each download so it has to be done manually.
When I'm done, I end up with the data I want, but with a row beneath
each meaningful row that is not empty, but of no use to me, and I want to
delete all these rows. There can be up to 1500 or more rows and deleting
every other row by hand is very tedious.
Could anyone please explain how to SELECT every other row, either odd

or
even so I can delete them? I don't want to delete automatically as I want

to
check it first,
TIA,
Regards,
Alan.





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Selecting Rows

Steve,
Thank you so much, too much thought, wood and trees etc on my part,
Thanks Again,
Alan.
"steve" wrote in message
...
Alan,

Don't know if this will help but if there is a column in your "useless"

rows
that is blank, and cells in the "good" rows always have something you can

do
this:

Select this column.
GoTo Special Blanks
Delete Entire rows

You can record this and build a macro.

If there is an identifiable 'string' in these rows that is not in the

other
rows,
you can precede the above with a Replace 'string' With
(don't put anything in the with box).

This is a fast approach to delete blank rows.
Other wise you have to build a loop and start from the bottom.
(this is the slow way)

--
sb
"Alan" wrote in message
...
Hi,
I'm importing into XL data from an MS-DOS application, I really

don't
know what type it is. I have to delete lots of bits and pieces which are
different on each download so it has to be done manually.
When I'm done, I end up with the data I want, but with a row beneath
each meaningful row that is not empty, but of no use to me, and I want

to
delete all these rows. There can be up to 1500 or more rows and deleting
every other row by hand is very tedious.
Could anyone please explain how to SELECT every other row, either

odd
or
even so I can delete them? I don't want to delete automatically as I

want
to
check it first,
TIA,
Regards,
Alan.







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Selecting Rows

Alan,

Sounds like it works!!! Glad it was a 'simpler' solution...

Excel can do that to you...

And - You're very welcome!!!

--
sb
"Alan" wrote in message
...
Steve,
Thank you so much, too much thought, wood and trees etc on my

part,
Thanks Again,
Alan.
"steve" wrote in message
...
Alan,

Don't know if this will help but if there is a column in your "useless"

rows
that is blank, and cells in the "good" rows always have something you

can
do
this:

Select this column.
GoTo Special Blanks
Delete Entire rows

You can record this and build a macro.

If there is an identifiable 'string' in these rows that is not in the

other
rows,
you can precede the above with a Replace 'string' With
(don't put anything in the with box).

This is a fast approach to delete blank rows.
Other wise you have to build a loop and start from the bottom.
(this is the slow way)

--
sb
"Alan" wrote in message
...
Hi,
I'm importing into XL data from an MS-DOS application, I really

don't
know what type it is. I have to delete lots of bits and pieces which

are
different on each download so it has to be done manually.
When I'm done, I end up with the data I want, but with a row

beneath
each meaningful row that is not empty, but of no use to me, and I want

to
delete all these rows. There can be up to 1500 or more rows and

deleting
every other row by hand is very tedious.
Could anyone please explain how to SELECT every other row, either

odd
or
even so I can delete them? I don't want to delete automatically as I

want
to
check it first,
TIA,
Regards,
Alan.









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Selecting Rows

Excel can do that to you.....

Indeed it can. And not for the first time!

Alan.
"steve" wrote in message
...
Alan,

Sounds like it works!!! Glad it was a 'simpler' solution...

Excel can do that to you...

And - You're very welcome!!!

--
sb
"Alan" wrote in message
...
Steve,
Thank you so much, too much thought, wood and trees etc on my

part,
Thanks Again,
Alan.
"steve" wrote in message
...
Alan,

Don't know if this will help but if there is a column in your

"useless"
rows
that is blank, and cells in the "good" rows always have something you

can
do
this:

Select this column.
GoTo Special Blanks
Delete Entire rows

You can record this and build a macro.

If there is an identifiable 'string' in these rows that is not in the

other
rows,
you can precede the above with a Replace 'string' With
(don't put anything in the with box).

This is a fast approach to delete blank rows.
Other wise you have to build a loop and start from the bottom.
(this is the slow way)

--
sb
"Alan" wrote in message
...
Hi,
I'm importing into XL data from an MS-DOS application, I really

don't
know what type it is. I have to delete lots of bits and pieces which

are
different on each download so it has to be done manually.
When I'm done, I end up with the data I want, but with a row

beneath
each meaningful row that is not empty, but of no use to me, and I

want
to
delete all these rows. There can be up to 1500 or more rows and

deleting
every other row by hand is very tedious.
Could anyone please explain how to SELECT every other row,

either
odd
or
even so I can delete them? I don't want to delete automatically as I

want
to
check it first,
TIA,
Regards,
Alan.











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
Selecting All Rows with Certain Data Ron Coderre Excel Discussion (Misc queries) 0 November 29th 06 07:44 PM
Selecting All Rows with Certain Data Dave F Excel Discussion (Misc queries) 0 November 29th 06 07:24 PM
after selecting 50 rows of a column i can't reference the cells in the rows Bob Salzer New Users to Excel 2 July 21st 06 10:29 PM
Selecting Rows Coolboy55 Excel Worksheet Functions 4 August 22nd 05 04:07 PM
selecting rows CiaraG Excel Programming 0 August 8th 03 10:07 AM


All times are GMT +1. The time now is 06:58 AM.

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"