XL7: Integer Example in Help Should Not Exceed 32767

ID: Q133315


The information in this article applies to:
  • Microsoft Excel for Windows 95, version 7.0

In Microsoft Excel 7.0, the following example in the Declaring Constants example in Visual Basic Help is incorrect:

   Const age as Integer = 34, wage as Integer = 35000 
This information is incorrect because the maximum value an Integer data type can have is 32767. This example exceeds that limit.

Additional query words:

Keywords : kbprg xlwin
Version : WINDOWS:7.0
Platform : WINDOWS
Issue type :


Last Reviewed: October 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.