![]() |
|
#2
|
||||
|
||||
![]()
I don't see any reference to textbox a named "NBL-02" in your code which, it seems to me, could be reduced to:
Code:
With ActiveDocument.Shapes("NBL-02").TextFrame.TextRange.Find .Text = old_text .Replacement.Text = "400" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False .Execute Replace:=wdReplaceAll End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
![]() |
Georg1e | Word | 1 | 03-01-2013 01:26 PM |
<object> reference appearing next to textboxes | bblouin | Word | 0 | 10-19-2012 08:50 AM |
![]() |
msword270 | Word | 1 | 01-12-2012 11:41 AM |
![]() |
Giygas | PowerPoint | 1 | 12-05-2010 02:59 PM |