Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-29-2017, 08:22 PM
mana mana is offline Word Count Macro Windows 7 64bit Word Count Macro Office 2010 32bit
Novice
 
Join Date: Mar 2017
Posts: 2
mana is on a distinguished road
Default

Code:
Option Explicit

Sub test()
    Dim n As Long
    
    With ActiveDocument.Words
        Do
            n = n + 26
            If n > .Count Then Exit Do
            .Item(n).InsertBefore "/"
        Loop
    End With
    
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Count Macro Macro to return a word count of text contained within a bookmark tomsrv Word VBA 13 08-24-2016 02:26 AM
Ammunition count macro Owastell Excel Programming 3 07-03-2014 11:00 AM
Word Count Macro A recurring word count macro? bpanda Word VBA 1 06-11-2013 07:17 AM
Word Count Macro Word Count Macro bpanda Word VBA 1 01-11-2013 06:51 PM
*Word 2007 Macro for Character Count gbartlet Word 0 07-21-2010 11:12 AM

Other Forums: Access Forums

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