Knowledge Base

Integer Example in Help Should Not Exceed 32767

Article ID: 133315

Article Last Modified on 10/11/2006


APPLIES TO


This article was previously published under Q133315
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: XL7

Keywords: kbprogramming KB133315