I want to have a user copy and paste a block of text into a text box on my form, and then VBA would pick out the useful information , and place it in the various feilds in the record for the user. (so they won't have to read the text and pick it out manually)
The information generally is in the same order every time.
sometimes the text block varies where the carriage return is in the text line.
since there is always some variation in the line of text, I am using what is constant to find what I want to pull out.
For instance, the word "FONE" will always be there in the line of text. what I want will always be (for example) 5 characters away from "FONE".
Most of the time I don't what a problem with the text... BUT
I may sometimes have a carraiage return in the middle of FONE
Example :
F
ONE
Now, VBA won't recognize FONE" instr(1,[mytextbox],"FONE")
I used VBA to remove chr(13) but it replaces it with this square character which is acting as a carriage return.
result :
F[]ONE
(The brackets represent the box)
What is this square? If I knew it's chr() I would replace it too- but I can't figure out what it is.
example:
what is pasted:
This is my text example
of what is pasted into my
box before I run the chr(13) replace
After replace chr(13):
This is my text example[]of what is pasted into my[]box before I run the chr(13) replace

The information generally is in the same order every time.
sometimes the text block varies where the carriage return is in the text line.
since there is always some variation in the line of text, I am using what is constant to find what I want to pull out.
For instance, the word "FONE" will always be there in the line of text. what I want will always be (for example) 5 characters away from "FONE".
Most of the time I don't what a problem with the text... BUT
I may sometimes have a carraiage return in the middle of FONE
Example :
F
ONE
Now, VBA won't recognize FONE" instr(1,[mytextbox],"FONE")
I used VBA to remove chr(13) but it replaces it with this square character which is acting as a carriage return.
result :
F[]ONE
(The brackets represent the box)
What is this square? If I knew it's chr() I would replace it too- but I can't figure out what it is.
example:
what is pasted:
This is my text example
of what is pasted into my
box before I run the chr(13) replace
After replace chr(13):
This is my text example[]of what is pasted into my[]box before I run the chr(13) replace
