Help please.

I am using Excel2003.

I have a dialog box with a number of Editboxes - the user enters info in the
edit box and I then want that info in a given cell (B6) on Worksheet
(Information Sheet)

This is only one line and I have applied this to the OK button

Sub Button2_Click()
Worksheets("Information Sheet").Range("B6") = TextBox16.Text
End Sub

I have tried using EditBox16.Text and I still get the same error each time.


Thanks

Spottytash