Hi,
i'm new to VBA and i'm learning now.
My requirement is to match the word PROC or PRIC from a word document and move the next strings to excel under corresponding headers.
for (e.g) my word document (sample.docx) contains
PROC-1801
PROC-1901
PRIC-1801
PRIC-1901
my excel (sample.xlsm) contains the heading
PROC PRIC
code need to check the word PROC and move the text 1801, 1901 to excel under the heading PROC like below
PROC
1801
1901
Have gone through some of the online site and come up with the below code. this code doesn't give any error but the results were not coming in sample1 spreadsheet.
Code is given below:
Please Login or Register to view this content.
Bookmarks