The information in this article applies to:
SYMPTOMSYou use the Sort method example in the Microsoft Outlook Visual Basic Reference (Vbaoutl.hlp) and items do not appear to be sorted in the collection. CAUSEWhile the example in the Help file does actually sort the collection, it then refetches the collection and therefore the items do not appear to be sorted. STATUSMicrosoft has confirmed this to be a problem in Microsoft Outlook 98. MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft Support professionals 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 needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspUse the following Visual Basic for Applications automation code example as a basis for how to work with sorted collections:
For comparative purposes, the incorrect approach provided in the Help file
is:
NOTE: This problem also existed in the Outlook 97 version of this Help
file.
REFERENCESFor more information about creating solutions with Microsoft Outlook 98, please see the following articles in the Microsoft Knowledge Base: Q180826 OL98: Resources for Custom Forms and Programming Additional query words: OutSol OutSol98
Keywords : kbcode |
Last Reviewed: November 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |