Nick -
I received other errors than the one you specified. I modified your code to the following and it works...
<Serializable()> Public Class listType
Inherits FarPoint.Web.Spread.GeneralCellType
Dim list As New ListBox
Public Overrides Function PaintCell(ByVal id As String, ByVal parent As System.Web.UI.WebControls.TableCell, ByVal style As FarPoint.Web.Spread.Appearance, ByVal margin As FarPoint.Web.Spread.Inset, ByVal value As Object, ByVal upperLevel As Boolean) As System.Web.UI.Control
Dim dmSpread As FarPoint.Web.Spread.SheetView
Dim ctl As Control = parent.Parent
While Not TypeOf ctl Is FarPoint.Web.Spread.FpSpread
ctl = ctl.Parent
End While
dmSpread = CType(ctl, FarPoint.Web.Spread.FpSpread).Sheets(0)
If Not dmSpread Is Nothing Then
list.Items.Add("Doctoral Degree")
list.Items.Add("Masters Degree")
list.Items.Add("Bachelors Degree")
End If
Return list
End Function
End Class
Bob M.
FarPoint Technologies, Inc.