ArcMap returns the error, "Type mismatch", when using the ReclassByRemap function to reassign grid cell values.
The start value is equal to the end value. ReclassByRemap does not accept a range where the start value is equal to the end value in ArcGIS 8.1. This limitation is also present in ArcInfo Workstation Grid and ArcView 3.2 Spatial Analyst 2.0.
For example, with start and end values of 0, reclassifying them to 1 using the following code will return the error message:
pRemap.MapRange 0, 0, 1
Increase the maximum value to solve the problem.
pRemap.MapRange 0, 0.01, 1