This documentation is archived and is not being maintained.

Cannot convert start value of type '<type1>' and step value of type '<type2>' to a common type

Visual Studio 2008

The specified For...Next control values have different types, and therefore are not valid because they cannot be converted to a common type.

To correct this error

  • Change the type of one or more of the values so that all values can be converted to a common type.

Show: