|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Represents the Answer Wizard in a Microsoft Office application.
Assembly: office (in office.dll)
Some of the content in this topic may not be applicable to some languages.
There is only one Answer Wizard per application, and all changes to the AnswerWizard object or the AnswerWizardFiles collection affect the active Office application immediately.
Use the ClearFileList method to remove all entries from the list of files available to the current Answer Wizard. Using this method ensures that the default files available to the Office host application are no longer accessible through the Answer Wizard, such as when you’re replacing the Answer Wizard files with custom .AW files.
Use the ResetFileList method to restore the list of files for the current Answer Wizard to the default list of files for the Office host application. You can also establish a custom default file list in the Windows registry by adding the names of the custom files to the appropriate registry key; the files specified in that registry key will then be restored when ResetFileList is called.
Use the Files property to get the collection of Answer Wizard file references. The Files property returns a collection of strings that refer to .AW files.