Quote:
Originally Posted by Nicknamednick
I assume, enter my own local path to the .xlsx between the " ".
|
As coded, the macro looks for a workbook named 'WordList.xlsx' in your Documents folder. You could have it look in whatever folder your document is by changing:
StrWkBkNm = "C:\Users" & Environ("Username") & "\Documents\WordList.xlsx"
to:
StrWkBkNm = ActiveDocument.Path & "\WordList.xlsx"
Otherwise, you could supply the fill path & filename.
Quote:
Originally Posted by Nicknamednick
if the workbook I'm using has a sheet called "Table1 (2)" with the word list, I should swap out for "Sheet1"
|
Yes.
Quote:
Originally Posted by Nicknamednick
My column is entitled "Column1" so I assume I should change out "column A".
|
No, that's just a text comment. Regardless of what you change that to, the code will still look in column A. If you want to search a different column, change the column reference in the .Range("A" & i) references.