Microsoft KB Archive/183359

From BetaArchive Wiki
Knowledge Base


Article ID: 183359

Article Last Modified on 11/23/2006



APPLIES TO

  • Microsoft Word 98 for Macintosh



This article was previously published under Q183359


SYMPTOMS

When you attempt to record a macro that uses the AutoMark feature for indexing a document, Microsoft Word may stop responding.

WORKAROUND

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

To work around this problem, use the following Visual Basic for Applications macro, which performs the functionality of recording AutoMarking indexes:

   Sub MarkIndex()
      Dim sConDoc As String
      sConDoc = "Macintosh HD:My Docs:My Concordance Document"
      ActiveDocument.Indexes.AutoMarkEntries sConDoc
   End Sub
                

Note that "Macintosh HD:My Docs:My Concordance Document" should be changed to your concordance document path and file name.

For more information about concordance documents, click Contents And Index on the Help menu (or on the Balloon Help menu if you are using a version of the Macintosh operating system earlier than 8.0), click the Index button in Word Help, type the following text

concordance


and then click Show Topics. Select the "Mark index entries" topic, and click Go To. If you are unable to find the information you need, ask the Office Assistant.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

For additional information, please see the following article in the Microsoft Knowledge Base:

181058 OFF98: How to Run Sample Code from Knowledge Base Articles


REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

163435 VBA: Programming Resources for Visual Basic for Applications



Additional query words: vb vba vbe hang hung crash crashed locks locked frozen freezes crashing quit quits stopped crashes auto lockup freeze break won't respond waiting near memory stops responding hangs lock up fail

Keywords: kbbug kbdtacode kbmacroexample kbpending KB183359