No luck,![Confused](https://www.excelforum.com/images/smilies/confused.gif)
![Confused](https://www.excelforum.com/images/smilies/confused.gif)
tried as follows :
Sub FillPoint(Temp, point, POINTXX, SURVLOC)
Dim c As Long
Dim R As Long
Dim RA As Range
Dim Rng As Range
Dim i As Long
Set Rng = Sheets(point).Range(Temp)
For Each RA In Rng.Areas
R = R + RA.Rows.Count
Next RA
ReDim POINTXX(R, 4)
For Each RA In Rng.Areas
For R = 1 To RA.Rows.Count
i = i + 1
For c = 1 To RA.Columns.Count
POINTXX(i, c) = RA.Cells(R, c)
'need to write code to force time format of column 1
'Range("POINTXX(i, 1)").NumberFormat = "[hh]:mm"
Format(RA.Cells(R, 1)).Value = "hh:mm"
' Range("Cells(R, 1)").NumberFormat = "[hh]:mm"
'need to write code to force time format of column 1
POINTXX(i, 4) = SURVLOC
Next c
Next R
Next RA
''''''''''''''''''''' REMOVES BLANK ROWS (END OF PAGE ONLY)
CUTENDPAGEBLANK POINTXX
''''''''''''''''''''' REMOVES BLANK ROWS (END OF PAGE ONLY)
End Sub
[/CODE]
Bookmarks