Hello,
in vb 6 can I get a Boolean value like true or false from a string which contains (a-b) where a and both are numbers.
Please help
thanks in advance
Hello,
in vb 6 can I get a Boolean value like true or false from a string which contains (a-b) where a and both are numbers.
Please help
thanks in advance
Welcome to the board.
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
First of all,thank you for the reply,
However my problem was
dim str as string
dim a as integer
dim b as integer
a=15
b=10
str="a-b"
Now I want the str to be Boolean value like true or false like if i can cbool(str) the true value returns
thanks for the welcome
Sourav
Are you thinking of something like
Please Login or Register to view this content.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
Thanks very much for taking your invaluable time to help me,I think here str is being pattern matched with some digits,but my problem is str="a>b",and that I need to be evaluated as a Boolean like true or false,I don't know whether this is possible or not but trying cbool is not working
Thanks
The board isn't cooperating. See attached.
Oh my god,you just solved it,thank you so so so very much,
may god bless you,
I am a very clumsy programmer with no formal training
I tried to replace sumifs with code that may seem disgustingly bad,without the less than or greater than ability,I like to incorporate those now
here without the special abilities like greater than or less than,all you have to do is select a range from your worksheet ,the selection should have columns like sum range criteria range
Last edited by allsourav; 04-06-2016 at 09:39 PM.
Please take a few minutes to read the forum rules, and then edit your post to add CODE tags.
Thanks.
Oh really sorry,I have deleted it
Thank you
You're welcome.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks