Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-24-2011, 02:04 AM
macropod's Avatar
macropod macropod is offline Macro to find text in between two characters and then format selected text? Windows 7 32bit Macro to find text in between two characters and then format selected text? Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,525
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by qcom View Post
So, how exactly does that work? I understand the "7:" and "pm" obviously, but what is with the "[0-9] and the "{2}"?

The "^&" just replaces with the same content in the find box, right?
The [0-9] tells Word to find any number from 0-9; the {2} specifies that it must be a 2-digit number.

You're right about the ^&.

Check out Word's Help file for more details on using wildcards.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
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 11:51 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