If I use the paragraph below as an example, the two specific characters to look for would be the first time there is a period (.) followed by a space. In the example below, those characters together occur once around the middle of the paragraph and at the end as well.
Example Paragraph:
Need VBA to locate two specific characters the first time they appear together in different paragraphs in column A. It would then enter all data that comes before those two specified characters to another column-B. Thanks.
The idea behind what is needed for the code to do the job would be to find that first occurrence of the two characters within that paragraph in Column A and then enter all the data that comes before those two characters in that paragraph and enter the result in the next column -B in a cell by itself.
Using the above example paragraph, the result in a cell by itself in column B would be as follows:
Need VBA to locate two specific characters the first time they appear together in different paragraphs in column A.
The result is the data in the paragraph from column A only up to the first occurrence of those two characters together is entered in a cell by itself in column B. The code should then repeat that process for each subsequent paragraph in column A using a separate cell in column B for each result. Note: Every paragraph would be separated from the paragraph above and below with a blank line.
Example Paragraph:
Need VBA to locate two specific characters the first time they appear together in different paragraphs in column A. It would then enter all data that comes before those two specified characters to another column-B. Thanks.
The idea behind what is needed for the code to do the job would be to find that first occurrence of the two characters within that paragraph in Column A and then enter all the data that comes before those two characters in that paragraph and enter the result in the next column -B in a cell by itself.
Using the above example paragraph, the result in a cell by itself in column B would be as follows:
Need VBA to locate two specific characters the first time they appear together in different paragraphs in column A.
The result is the data in the paragraph from column A only up to the first occurrence of those two characters together is entered in a cell by itself in column B. The code should then repeat that process for each subsequent paragraph in column A using a separate cell in column B for each result. Note: Every paragraph would be separated from the paragraph above and below with a blank line.