Integer Example in Help Should Not Exceed 32767 (133315)



The information in this article applies to:

  • Microsoft Excel for Windows 95

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.

Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbProgramming KB133315