Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jun 2002
    Lisbon, Portugal
    Thanked 0 Times in 0 Posts

    Calibration (Word 2002 SP3)

    I am working on a Word 2002 template that will be used to prepare copy (for subsequent composition using Quark Xpress).
    The layout team needs character counts (ie, characters with spaces) for each block of text as it is produced or amended.
    Redoing the character count using Tools/Word Count, then copying the figure into the line of compo information preceeding each block is tedious, especially when cycling rapidly through a large number of editorial changes.
    Can anyone see how to automate this process?

  2. #2
    Super Moderator
    Join Date
    May 2002
    Canberra, Australian Capital Territory, Australia
    Thanked 406 Times in 335 Posts

    Re: Calibration (Word 2002 SP3)

    Hi Steve,

    You could attach a macro like the following to a toolbar button. The macro inserts the character count for a selection in a separate para at the start of that selection. You could then drag that value to your compo block, as you call it. Alternatively, if there is a particular way that Word can find where in the compo block to update the count, that could probably be coded too.

    Sub CharacterCount()
    With Selection
    ChCount = .Characters.Count
    .InsertBefore ("Char count = " & ChCount & vbCrLf)
    .Collapse (wdCollapseStart)
    .Style = "StyleName" ' Insert the required para style here - you don't need the quotes if you use one of Word's built-in styles (eg wdStyleNormal)
    End With
    End Sub


    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts