in
All Tags » word » vba » loop (RSS)

Browse by Tags

  • Word VBA, Loop through all words in a document

    Using VBA for Word, how do I loop through all the "Words" in the Active document? I've used this in Access, but don't know the synatx for Word. I'm thinking it should look something like this: Sub Loop() Dim wd as Word for each wd in ActiveDocument 'Do Something Next wd End...
    Posted to Word (Forum) by microsoft on 02-12-2010
  • Search and replace text containing superscripts in Word

    Hi, I have many documents in Microsfot Word 2007 (RTF, DOC or DOCX) which the text includes superscripts. One of the issues I need to solve is to find and replace sentences in which a superscript is located after the stop (the dot), adding a carriage return after the superscripts. The sentences look...
    Posted to Word (Forum) by microsoft on 01-18-2010
Page 1 of 1 (2 items)