Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-13-2022, 01:58 PM
Mr J Mr J is offline Looking for VBA code that can FIND and SELECT any text based on its properties Windows 10 Looking for VBA code that can FIND and SELECT any text based on its properties Office 2016
Novice
Looking for VBA code that can FIND and SELECT any text based on its properties
 
Join Date: Aug 2020
Location: California, US
Posts: 15
Mr J is on a distinguished road
Default

That is freaking great!!! I honestly wouldn't have thought to do it from the excel side. However I'm a little embarrassed I was not clear enough. What you made is awesome and unfortunately, the original manual template was made by someone else a long time ago. So the Word file is not really structured properly which is why I’m trying to work with what I am given.

So the very top line the “Maintenance Manual# MMXXXX” is more of a label. The title I am trying to capture is the next couple of lines. However the biggest issue is that this template has been used for a very long time and has been slightly changed over the years, so one of the few consistencies I could think to search for is the Font, the text size (Times New Roman, size = 12). I have attached one more file just showing a couple examples of the different highlighted titles I might receive. I know this is pretty complex especially because I can’t fix what was already created so I have to find work arounds but this is what I’m looking for.

Andrew thank you! I am very appreciative of what you have already given me so if I am asking too much I understand.

Edit: Just wanted to be clear. In the updated attachment I showed multiple examples of how they would look but there shouldn't ever be more than one title in 1 file. I just showed them that way so you could get a visual but that would not be how I receive them.
Attached Files
File Type: doc Sample Manual Updated.doc (31.0 KB, 10 views)
Reply With Quote
 

Tags
macro find text, select text, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro/VBA code to select ALL text in a textbox in microsoft excel and add a new row jyfuller Excel Programming 11 06-01-2015 08:49 PM
Macro to select an { includepicture } field code and format the picture behind text and 100% scale sanpedro Word VBA 3 03-30-2015 10:50 PM
Microsoft Word macro to find text, select all text between brackets, and delete helal1990 Word VBA 4 02-05-2015 03:52 PM
Looking for VBA code that can FIND and SELECT any text based on its properties VBA code for Microsoft Word macro — select text and insert footnote ndnd Word VBA 10 01-06-2015 01:47 PM
Looking for VBA code that can FIND and SELECT any text based on its properties How to find and select text in a document? mkhuebner Word VBA 8 02-04-2014 08:04 PM

Other Forums: Access Forums

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