Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #22  
Old 03-30-2012, 03:12 PM
nancy v nancy v is offline macro+word 2003 version support Windows XP macro+word 2003 version support Office 2003
Novice
macro+word 2003 version support
 
Join Date: Mar 2012
Location: Brazil
Posts: 21
nancy v is on a distinguished road
Default

Dear Paul,

hope you are doing good,

here I have a query as in

Code:
'Replace the found text, asking first
    Do While .Find.Found
      .Duplicate.Select
      Rslt = MsgBox("Replace this instance of:" & vbCr & _
        Split(xlFList, "|")(i) & vbCr & "with:" & vbCr & _
        Split(xlRList, "|")(i), vbYesNoCancel)
      If Rslt = vbCancel Then Exit Sub
      If Rslt = vbYes Then .Text = Split(xlRList, "|")(i)
      .Collapse wdCollapseEnd
      .Find.Execute
    Loop
  End With
what is to be changed so that it just replace in one go ......not asking first etc...
as last night I was working on a doc fie and it had around 300+ same text which need to replaced, and I was ding one by one using macro.

Thanks,

Nancy

Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
macro+word 2003 version support Can Word 2007 support graphs? burnsie Drawing and Graphics 1 07-08-2011 07:08 AM
Word 2003 macro to Word 2007 to 2010 to... maruapo Word VBA 0 06-04-2010 03:43 PM
does office word 2007 support html signature! jimijani1982 Word 2 05-04-2010 04:37 AM
[Word 2003] Macro's and a UserForm xanuex Word VBA 0 10-19-2009 05:42 AM
Problem with AutoClose macro and Word 2003 cholo Word VBA 0 07-08-2009 05:48 AM

Other Forums: Access Forums

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