Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 09-27-2022, 12:19 PM
Nicknamednick Nicknamednick is offline Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence Windows 10 Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence Office 2021
Novice
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence
 
Join Date: Sep 2022
Posts: 4
Nicknamednick is on a distinguished road
Default

Thank you, Macropod for the tips. I just want to make sure my instincts are correct:
Quote:
Originally Posted by macropod View Post
For example:
...
StrWkBkNm = "C:\Users" & Environ("Username") & "\Documents\WordList.xlsx"
StrWkSht = "Sheet1"

[I assume, enter my own local path to the .xlsx between the " ". And also, if the workbook I'm using has a sheet called "Table1 (2)" with the word list, I should swap out for "Sheet1"]]


...

Quote:
Originally Posted by macropod View Post
' Find the last-used row in column A.
iDataRow = .Cells(.Rows.Count, 1).End(-4162).Row ' -4162 = xlUp
[My column is entitled "Column1" so I assume I should change out "column A".]



I'll try this code next. Thank you again!
--David
 

Tags
excel 2019, ms-word, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence Wildcards: searching for multiple words / expressions close to each other ballpoint Word VBA 7 11-09-2017 03:30 PM
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence Best Practice for Indexing Multiple Word Terms and Sub-Terms jhy001 Word 4 11-06-2017 02:08 PM
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence All words in document appear bold but are not! Ezra Word 4 07-31-2017 06:53 AM
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence Making Multiple Words Bold mtk989 Word 2 06-25-2011 11:27 AM
Searching a Word document with multiple words from a list (over 1,000 terms) and BOLD all occurrence How to make a list of all the bold words in a document? galaxy_110 Word 1 12-31-2010 08:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft