|
-
Oct 13th, 2011, 01:20 AM
#1
Thread Starter
Member
[RESOLVED] Proper way to word this line of code?
What would be the correct way to word the line of code I'm working with below? I get a compile error with the second > symbol. Thank you.
If txt1 > 0 and Not > 6000 Then
-
Oct 13th, 2011, 01:30 AM
#2
Fanatic Member
Re: Proper way to word this line of code?
Code:
if (val(txt1.text) > 0 and val(txt1.text) <= 6000) then ' if greater then 0 and is 6000 or less.
'code here
end if
do greater and less then, instead of not greater... its the same logic.
-
Oct 13th, 2011, 01:37 AM
#3
Thread Starter
Member
Re: Proper way to word this line of code?
Thank you, dont know what I was thinking.
-
Oct 13th, 2011, 01:38 AM
#4
Fanatic Member
Re: Proper way to word this line of code?
by the way, welcome to the forums. 
please mark your thread as resolved when your question has been answered 
above the first post, go to thread tools> mark thread resolved.
-
Oct 13th, 2011, 01:50 AM
#5
Thread Starter
Member
Re: Proper way to word this line of code?
Will do, thanks for telling me how to mark as resolved I gotta make sure my last thread got marked that way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|