Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-19-2017, 04:21 AM
Chayes Chayes is offline VBA to find any nine-figure number Windows XP VBA to find any nine-figure number Office 2003
Advanced Beginner
VBA to find any nine-figure number
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default VBA to find any nine-figure number

HI All

I need to find and replace with a carriage return all occurrences of everything between a "£" sign and the next nine-figure number.

So for example all pattern like

£4.00 $0.42
477489528

Would be found and replaced with a carriage return.

The code would need to run through and replace all such instances. It always starts with the £ sign and ends with a nine-figure number.

Can someone help with some code for this? Grateful for any advice.



Best Wishes ,
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Captioning each figure with the chapter number jatin1990 Word 6 03-31-2015 02:34 PM
How to stop caption number reset (Figure 1) strathglass Word 5 06-17-2013 06:06 AM
VBA to find any nine-figure number Figure number for repeated use in paragraph rahul4msoffice Word 1 05-01-2013 11:35 PM
Refering figure number too text danzi Word 1 01-20-2012 12:13 PM

Other Forums: Access Forums

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