i would like to select all numbers in a line not exceeding the dot(".")
like whats in the picture...
Attachment 30627
please refer blue text as selected....
tnx in advance ...
Printable View
i would like to select all numbers in a line not exceeding the dot(".")
like whats in the picture...
Attachment 30627
please refer blue text as selected....
tnx in advance ...
Have a look at InStr and Mid and Left, and Right
what are those ?
sorry i''m a true beginner ?
They are VB string functions, look at the documentation and examples in yoru online help or Google them.
Instr() searches for a match in a string and returns the position where the match was found or 0 if it was not found
Mid() allows you to pull characters from any position within a string by telling it where to start and how many characters you want
Left() allows to you get the characters from the left side of a string. You just tell it how many to get
Right() is the same as left but pulls fromt he right side of the string.
ohh ....
thanks !!!
great thing
im in this forum and it had you!!
can i add something here ??
how can i export rtb textrtf to word ??
with formatting?
like Bold,CenterAlignment...
can this happen?
and also can support any word versions?
another help here please...
thanks in advance!!!!
:confused:
Open it with WORD, and re-Save it as the version of Word that you want. RTF is open, while WORD format isn't.
Again please ....
i Cant understand...
??
please just tellme how?
hahaha ...
i'm just in a hurry ?
Erm :
http://forum.codecall.net/topic/6342...#axzz2E5dyscTO
Basically what David tried to say.... Google is sometimes a very good resource....
so this means you dont know how ?
I do know. The thing is, it helps nothing I spoonfeed you. Have you done the effort in going through the link I supplied?
Well first off just because someone does not give you a detailed post with full code does not mean they do not know how.
Second you do not export anything from a RTB, you save the data to a file or or place it on the clipboard. If you want an export function then you have to write one.
The RTB has 2 properties that you should look at, .text and .textrtf one includes the rtf formatting and the other does not.
Word and Wordpad can each open a proper rtf formatted file and have it display as it should, of course you first need to have the text formatted using RTF, if you have that already then all you do is save the formatted data if not then you first have to format it and if you do not know rtf formatting codes you may want to move on to something else.