![]() |
#1
|
|||
|
|||
![]()
Hi all,
I've tried my best to convert the find-replace knowledge that I've learned from here into a macro, but I just can't get it right. I'm trying to build a macro that will convert all instances of: .{tab}The {text} according to any one of examples {lownum}-{highnum}, into .{tab}The {text} according to example {lownum}, In the above: {tab} represent a tab character (e.g. ^t). {text} can be any text and should remain as-is. If it is difficult to achieve this without unpredictable results, then it would be ok for this to be a single word. {lownum}-{highnum} represents a range. Their absolute and relative values are unimportant. The number before the hyphen (i.e. {lownum}) should remain as-is, while the hyphen and the number following the hyphen (i.e. {highnum}) should be deleted. |
Tags |
find & replace |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find and Replace Macro Need | djpemberton | Word VBA | 2 | 05-04-2016 07:53 PM |
![]() |
amparete13 | PowerPoint | 3 | 03-11-2014 05:29 AM |
![]() |
bertietheblue | Word VBA | 12 | 11-04-2013 05:35 PM |
macro or find/replace | JamesVenhaus | Word | 2 | 02-27-2012 03:34 PM |
Find and Replace Macro - A Better Way | Tribos | Word VBA | 0 | 10-08-2008 03:22 AM |