The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Test if range is empty
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mrandersb

25 Posts

Posted - 06/21/2011 :  05:09:06 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
When I declare a range like this:

range cc1 = [Book1]Sheet1!wcol(1);

how do i test if it is empty.

I need to stop a loop if this range does not exist.

Penn

China
644 Posts

Posted - 06/21/2011 :  06:18:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can try the exist function.

Penn
Go to Top of Page

mrandersb

25 Posts

Posted - 06/22/2011 :  04:26:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks it works perfectly
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000