Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Track changes (Word 2002 + Windows 2000)

    With Word 2002 and the Reviewing toolbar, I recorded a macro to get some track changes commands. One it gave me was WordBasic.AcceptAllChangesInDoc. Now why would it use WordBasic for that? Seems very weird.

    The ActiveDocument method is AcceptAllRevisions, though the Word command is indeed listed as AcceptAllChangesInDoc.

    I can't find any reference to AcceptAllChangesInDoc in any of my Word2/6/7 references. What is its game?

  2. #2
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Track changes (Word 2002 + Windows 2000)

    WordBasic as a macro language is dead.
    But WordBasic used to have a Command (= built-in function/macro) for every toolbar button, menu item, or dialog.
    This WordBasic object which contains all the functionality of Word still is alive and well, and the new features are still added to it all the time.

    I recently tried to record all the commands with the macro recorder (Word2000), and found 357 different WordBasic Commands in the recorded code. And many, many more (probably all) still work fine. The only problem is that they are not documented any more.

    Some (MS MVP John McGhie, for one) have asked that WordBasic should be reactivated, because the direct representation of the user interface in the macro language made it easy to learn.

    With VBA, the hurdle to start programming is much higher. Also, the macro recorder doesn't work very well because it has to translate WordBasic Commands to VBA -- which also makes it harder for novices to get started with recorded macros.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Track changes (Word 2002 + Windows 2000)

    In Access 2000/2002, the wizards still write Access 95 (Office 7) code. It appears that Microsoft updates the programs themselves but doesn't bother to keep the wizaeds current as long as they still work. Makes me wonder what the wizards will be writing and the recorder recording in the first version of Office actually based on .Net. <img src=/S/confused.gif border=0 alt=confused width=15 height=20>
    Charlotte

Posting Permissions

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