Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default First Empty Row

Hello all,
I am trying to get my database to use the first empty row it "should" find.

The thing is it all works great until I delete the contents of a row (not
the row itself).
IE:
A2:data
A3:data
A4:empty
A5:data
A6:data

It still refuses to see this empty row, and just goes to the first empty
row under my data.

So, is there a way to make Excel see an empty row, even if it's in the
middle of other data. Or scan from the top down, and take the first row it
sees has nothing in it.

Regards
Peter

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default First Empty Row

Hi Peter,


-----Original Message-----
Hello all,
I am trying to get my database to use the first empty row

it "should" find.


..Range("A2", "A6").SpecialCells(xlCellTypeBlanks).Cells
(1).Row

gives you the first row with empty cells - in your example
it would be "4"


Best

Markus


The thing is it all works great until I delete the

contents of a row (not
the row itself).
IE:
A2:data
A3:data
A4:empty
A5:data
A6:data

It still refuses to see this empty row, and just goes to

the first empty
row under my data.

So, is there a way to make Excel see an empty row, even

if it's in the
middle of other data. Or scan from the top down, and take

the first row it
sees has nothing in it.

Regards
Peter

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default First Empty Row

Thanks Markus, worked like a charm =)

"Markus Scheible" wrote:

Hi Peter,


-----Original Message-----
Hello all,
I am trying to get my database to use the first empty row

it "should" find.


..Range("A2", "A6").SpecialCells(xlCellTypeBlanks).Cells
(1).Row

gives you the first row with empty cells - in your example
it would be "4"


Best

Markus


The thing is it all works great until I delete the

contents of a row (not
the row itself).
IE:
A2:data
A3:data
A4:empty
A5:data
A6:data

It still refuses to see this empty row, and just goes to

the first empty
row under my data.

So, is there a way to make Excel see an empty row, even

if it's in the
middle of other data. Or scan from the top down, and take

the first row it
sees has nothing in it.

Regards
Peter

.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default First Empty Row

Hi Peter,

it was a pleasure to help ;o)

Best regards,

Markus


-----Original Message-----
Thanks Markus, worked like a charm =)

"Markus Scheible" wrote:

Hi Peter,


-----Original Message-----
Hello all,
I am trying to get my database to use the first empty

row
it "should" find.


..Range("A2", "A6").SpecialCells(xlCellTypeBlanks).Cells
(1).Row

gives you the first row with empty cells - in your

example
it would be "4"


Best

Markus


The thing is it all works great until I delete the

contents of a row (not
the row itself).
IE:
A2:data
A3:data
A4:empty
A5:data
A6:data

It still refuses to see this empty row, and just goes

to
the first empty
row under my data.

So, is there a way to make Excel see an empty row,

even
if it's in the
middle of other data. Or scan from the top down, and

take
the first row it
sees has nothing in it.

Regards
Peter

.


.

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
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
in excel..:can't empty clip are" but already empty Alan Gauthier Excel Discussion (Misc queries) 0 February 10th 06 08:02 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM
Can blank cells created using empty Double-Quotes not be empty?? JohnI in Brisbane Excel Programming 6 September 7th 03 11:22 PM


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