Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Looking for < empty cells


I'm trying to identify cells that are not empty. However, when usin
code such as the following (very simple)

Do until activecell < empty
Activecell.offset(1,0).activate
Loop

and when searching cells that include 0, 0, 0, 30

It will skip over the 0's and stop at the cell with 30 in it. How ca
you get it to identify the 0 as < empty?

Thanks

--
jtrevil
-----------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...fo&userid=1660
View this thread: http://www.excelforum.com/showthread.php?threadid=31500

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Looking for < empty cells

This works for you?

Do until activecell < empty


--

HTH

RP
(remove nothere from the email address if mailing direct)


"jtrevill" wrote in message
...

I'm trying to identify cells that are not empty. However, when using
code such as the following (very simple)

Do until activecell < empty
Activecell.offset(1,0).activate
Loop

and when searching cells that include 0, 0, 0, 30

It will skip over the 0's and stop at the cell with 30 in it. How can
you get it to identify the 0 as < empty?

Thanks!


--
jtrevill
------------------------------------------------------------------------
jtrevill's Profile:

http://www.excelforum.com/member.php...o&userid=16601
View this thread: http://www.excelforum.com/showthread...hreadid=315002



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Looking for < empty cells


do while not isempty(cel1)
activecell.offset(1, 0).activate
loop

-----Original Message-----

I'm trying to identify cells that are not empty.

However, when using
code such as the following (very simple)

Do until activecell < empty
Activecell.offset(1,0).activate
Loop

and when searching cells that include 0, 0, 0, 30

It will skip over the 0's and stop at the cell with 30 in

it. How can
you get it to identify the 0 as < empty?

Thanks!


--
jtrevill
----------------------------------------------------------

--------------
jtrevill's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=16601
View this thread:

http://www.excelforum.com/showthread...hreadid=315002

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Looking for < empty cells

Hi
use
activecell<""

"jtrevill" wrote:


I'm trying to identify cells that are not empty. However, when using
code such as the following (very simple)

Do until activecell < empty
Activecell.offset(1,0).activate
Loop

and when searching cells that include 0, 0, 0, 30

It will skip over the 0's and stop at the cell with 30 in it. How can
you get it to identify the 0 as < empty?

Thanks!


--
jtrevill
------------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...o&userid=16601
View this thread: http://www.excelforum.com/showthread...hreadid=315002


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
how do I shift the contents of the cells up to remove empty cells. auctioncoach Excel Discussion (Misc queries) 2 February 11th 09 06:15 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
When I SUM cells & 1 is empty I need the result to be empty not 0 Maribel Excel Discussion (Misc queries) 1 August 2nd 05 12:49 AM
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 08:57 AM.

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"