Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2011, 10:32 PM
qcom qcom is offline Macro to find text in between two characters and then format selected text? Mac OS X Macro to find text in between two characters and then format selected text? Microsoft Office 2008 for Mac
Novice
Macro to find text in between two characters and then format selected text?
 
Join Date: Apr 2011
Posts: 3
qcom is on a distinguished road
Default Macro to find text in between two characters and then format selected text?

I'm completely new to macros in MS Word, but not entirely new to programming.



I'm looking to select all of the words in my document that begin with a "7" and end with a "pm". They have varying stuff in between such as "7:47pm" and so on.

How would I go about making such a macro in VBA?

Once selected, I would like to change the font size down to 7.

I would imagine this would be super simple macro for those experienced, but I really have no idea where to start.

Any suggestions are appreciated.

Thanks!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find text in between two characters and then format selected text? How to give line numbering to only selected text? garlapati Word 5 04-04-2011 02:05 PM
Macro to find text in between two characters and then format selected text? Need help on Macro 03- Find text - if text is blank then remove line simpleonline1234 Word VBA 1 02-25-2011 02:28 AM
Objective: Automatically export email text,attachment text to DB friendly format SilentLee Outlook 0 11-14-2010 02:45 PM
Selected text and logo in one macro marijke Word VBA 0 08-24-2009 07:01 AM
Select text between characters davers Word 10 05-24-2009 05:15 AM

Other Forums: Access Forums

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