Hi folks. I don't know quite what is happening and it may not concern the flexgrid directly but have a look at this, please.
The UDT is defined in a standard module. When it runs I get a type mismatch at Storm()*. Can any one see why. I have moved everything everywhere to no avail and put every possible argument in the brackets. The grid is set as 31 rows of 4 cols as the file the UDT writes to is made per month but clearly will not always be full. IE the file/array will mostly be smaller than the grid, will this make a difference ?
Thanks for any help Bungowomble.

Private Sub cmdArray_Click()
weatherdata2.Show
Dim Storm() As Weather
Dim I As Integer
Dim X As Integer
Dim Y As Integer
TotRecs = LOF(FNum) / Len(WRec)
ReDim Storm(TotRecs)

Open "Climate" + txtmonth.Text + ".dat " For Random As FNum Len = 29
For I = 0 To TotRecs

Get FNum, I, WRec
Storm(I) = WRec

Next I

Close FNum
For X = LBound(Storm, 1) To UBound(Storm, 1)
For Y = LBound(Storm, 2) To UBound(Storm, 2)
weatherdata2.flxMonth.TextMatrix(X, Y) = Storm(X, Y)*
Next Y
Next X
End Sub