Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #23  
Old 03-21-2018, 03:32 AM
ballpoint ballpoint is offline Find paragraph matching an expression in Word and exporting to Excel spreadsheet Windows 10 Find paragraph matching an expression in Word and exporting to Excel spreadsheet Office 2016
Advanced Beginner
Find paragraph matching an expression in Word and exporting to Excel spreadsheet
 
Join Date: Sep 2017
Posts: 40
ballpoint is on a distinguished road
Default

Thanks Paul! However, I think I have not made myself clear at all—my mistake, really.

My user case is a little more specific. Since most of the paragraphs I want to extract feature a reference, I thought I would first collect the references to then collect the paragraphs. To do so, I would use the fact that most paragraphs contain a reference written in italics. By finding all italicised text, I would be able to create a collection of search strings, from which I can then remove the duplicates to conduct the search. In this context, I would be looking for strings, not the complete paragraph

The trouble is, as you told me above, searching for italics may be a problem. So I thought I'd replace all italic text with tags, such as the *** discussed above. (Though if there is a way to do this with italics, that would be amazing.) After doing that, I can either look for every string matching the *** tag (or italics, if at all possible) and create a list. Which will in turn allow me to search through my collection of documents. Does it make any sense?

Again, thank you so much for contributing to this.
Reply With Quote
 

Tags
data extraction, regex



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find paragraph matching an expression in Word and exporting to Excel spreadsheet Exporting specific data fields from MS Word 2013 to a MS Excel 2013 spreadsheet Labyrinth Word 7 07-19-2016 01:35 PM
Exporting quiz scores from powerpoint to excel spreadsheet/word rjagile PowerPoint 1 02-08-2016 02:26 PM
Find and replace in word document repeated for every item in excel spreadsheet Daniell Word 1 02-17-2015 04:38 AM
Trying to import specific data from one spreadsheet to another, without matching rows Wynka Excel 0 11-26-2014 09:33 AM
Find paragraph matching an expression in Word and exporting to Excel spreadsheet Macro: Exporting Data to a LEGIBLE Excel Spreadsheet jeffcoleky Word VBA 6 05-08-2012 08:24 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:43 PM.


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