P
Patrickw
I have a table in my document which contains the following text
_______________________________________________________
|
|
| File No. «MAT_FileNumber»; «MAT_Client»; Chapter 13 |
| In re: John Doe and Jane Doe,
Debtors |
| Case No. 09-12345-RFN in the United States Bankruptcy Court |
| for the Northern District of Texas -- Fort Worth
Division |
|______________________________________________________ |
I'd like to find John Doe and Jane Doe (which will always appear
between
"In re: " and ", Debtors") or John Doe in between "In re:" and ",
Debtor"
and pass it to a string, strClientNames that I can use in a label (or
in
other controls, for that matter) on my userform.
I have looked at code which parses document text, but don't quite get
a good grip on use of InStr, Left, Mid and Len.
_______________________________________________________
|
|
| File No. «MAT_FileNumber»; «MAT_Client»; Chapter 13 |
| In re: John Doe and Jane Doe,
Debtors |
| Case No. 09-12345-RFN in the United States Bankruptcy Court |
| for the Northern District of Texas -- Fort Worth
Division |
|______________________________________________________ |
I'd like to find John Doe and Jane Doe (which will always appear
between
"In re: " and ", Debtors") or John Doe in between "In re:" and ",
Debtor"
and pass it to a string, strClientNames that I can use in a label (or
in
other controls, for that matter) on my userform.
I have looked at code which parses document text, but don't quite get
a good grip on use of InStr, Left, Mid and Len.