XL2000: Bidi Excel5 VBA Font Properties Are Not Mapped to New Ones (232332)
The information in this article applies to:
This article was previously published under Q232332 NOTE: This article discusses complex scripts functionality. Complex scripts functionality is available when you use the Office Language Settings tool to enable a language, such as Arabic or Hebrew, that requires this functionality. For more information about multilingual features, click Microsoft <I BRACKET="YES">your Office product</I> Help on the Help menu, type multilingual features in the Office Assistant or the Answer Wizard, and then click Search to view the topics that are returned. SYMPTOMS
When you type Microsoft Visual Basic for Applications code in a module sheet and attempt to run the code, you receive the following error message:
Run-time error '438':
Object doesn't support this property or method
CAUSE
Your code contains one of the following bidirectional (BiDi) Visual Basic for Applications dual font properties or methods that are no longer supported after Microsoft Excel version 5.0: - xlDefault
- xlArabic
- xlEnglish
- xlDialogOptionsArabic
- BidiName
- BidiFontStyle
- BidiSize
- StandardBidiFont
- StandardBidiFontSize
- xlLTR (when used with Object.DisplayRightToLeft where Object is either ActiveSheet or Activewindow)
- xlRTL (when used with Object.DisplayRightToLeft where Object is either ActiveSheet or Activewindow)
- xlContext (when used with Object.HorizontalAlignment where Object is referencing a Cell range)
WORKAROUND
Do not create new workbooks that reference bidirectional dual font properties that are no longer supported.
For existing Excel 5.0 workbooks with bidirectional dual font references, convert the file into a Microsoft Excel 2000 workbook by opening it in Excel 2000. During conversion, Excel maps bidirectional dual font properties to font properties that can be saved.
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbBidi kberrmsg kbprb KB232332 |
---|
|