'on event click that code copy values from some workbooks,and show that data in some text boxes 'the problem is whith the time format, it can'tbe shown in textbox for example in excel Cell.value the time is 09:26 => textbox is 0,34615.
Dim ystrdycrq As Excel.Workbook
Dim ystrdextr As Excel.Worksheet
Dim ystrdname As String = [String].Format("D:\data\données station\crq{0}.xls", DateTime.Now.AddDays(-1).ToString("ddMMyyyy"))
Dim fichiextreme As String = "K_" & Date.Now.AddDays(-1).ToString("MMdd") & ".xls"
Dim sourcextreme As String = "\\xxxxxxx\aero_mes\piste0\" & fichiextreme
Dim localextreme As String = "D:\data\bdcrq\" & fichiextreme
MsgBox(fichiextreme & sourcextreme & localextreme)
If System.IO.File.Exists(sourcextreme) Then
    File.Copy("\\xxxxxx\aero_mes\piste0\" & fichiextreme, "D:\data\bdcrq\" & fichiextreme, True)
    Dim extrwb As Excel.Workbook
    Dim extrwsh As Excel.Worksheet
    ystrdycrq = app.Workbooks.Open(ystrdname)
    ystrdextr = ystrdycrq.Worksheets("extrèmes")
    extrwb = app.Workbooks.Open(localextreme) ' ne pas oublier de la fermer
    extrwsh = extrwb.Sheets(1)
    extrwsh.Cells(1, 14).Copy(ystrdextr.Cells(1, 1))
    extrwsh.Cells(2, 14).Copy(ystrdextr.Cells(2, 1))
    extrwsh.Cells(1, 15).Copy(ystrdextr.Cells(1, 2))
    extrwsh.Cells(2, 15).Copy(ystrdextr.Cells(2, 2))
    extrwsh.Cells(1, 16).Copy(ystrdextr.Cells(1, 3))
    extrwsh.Cells(2, 16).Copy(ystrdextr.Cells(2, 3))
    extrwsh.Cells(1, 17).Copy(ystrdextr.Cells(1, 4))
    extrwsh.Cells(2, 17).Copy(ystrdextr.Cells(2, 4))
    extrwsh.Cells(1, 54).Copy(ystrdextr.Cells(1, 5))
    extrwsh.Cells(2, 54).Copy(ystrdextr.Cells(2, 5))
    extrwsh.Cells(1, 55).Copy(ystrdextr.Cells(1, 6))
    extrwsh.Cells(2, 55).Copy(ystrdextr.Cells(2, 6))
    txtUmin.Text = ystrdextr.Cells(2, 5).value
    txtHH_Umin.Text = ystrdextr.Cells(2, 6).value
    txtUmax.Text = ystrdextr.Cells(2, 7).value
    txtHH_Umax.Text = ystrdextr.Cells(2, 8).value
    txtTmin.Text = ystrdextr.Cells(2, 1).value
    txtHH_Tmin.Text = ystrdextr.Cells(2, 2).value
    txtTmax.Text = ystrdextr.Cells(2, 3).value
    txtHH_Tmax.Text = ystrdextr.Cells(2, 4).value
    extrwb.Close(SaveChanges:=False)
    ystrdycrq.Close(SaveChanges:=True)
    ystrdextr = Nothing
    ystrdycrq = Nothing
    extrwb = Nothing
    extrwsh = Nothing
    releaseObject(ystrdextr)
    releaseObject(ystrdycrq)
    releaseObject(extrwsh)
    releaseObject(extrwb)
Else
    MsgBox("the file .....", vbOKOnly)
End If
 
     
    