Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-27-2024, 06:25 AM
IndianaITGuy IndianaITGuy is offline Searching for the lone string on a line that starts with a particular character Windows 11 Searching for the lone string on a line that starts with a particular character Office 2019
Novice
Searching for the lone string on a line that starts with a particular character
 
Join Date: Mar 2024
Location: Martinsville, IN
Posts: 25
IndianaITGuy is on a distinguished road
Default

Ok I will try that. Actually I meant a string that starts with "X" and ends with a paragraph break. I thought I had edited that yesterday. I have attached a snippet of relevant text. Anything above doesn't matter and what follows is hundreds of similarly configured lines. What I was trying to sole at the moment is how to construct a proper Find statement in VBA to find one single string by itself on a line (paragraph in Word, I guess) that starts with a particular character.
Attached Files
File Type: docx Paul - Sample Code1.docx (13.9 KB, 3 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for the lone string on a line that starts with a particular character Word macro for deleting a line that starts with a specific character + deleting the line before eduardb Word 1 08-10-2022 03:17 AM
How to move a line to another line that starts with a chain selected in the 1st one? gloub Word VBA 24 03-19-2019 03:12 PM
Searching for string on a formula AMD2800 Excel 1 12-17-2014 10:41 AM
Searching for the lone string on a line that starts with a particular character Replace paragraph-marks (line-breaks) in tables with a character-string Aztec Word VBA 2 04-02-2013 10:52 PM
Searching for the lone string on a line that starts with a particular character Finding or searching ^ character in word document shahin3121 Word 2 03-05-2012 06:16 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:35 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