Bu Blogda Ara

29 Aralık 2010 Çarşamba

excelde saat farkı hesaplatma makrosu

Sub fark()
Cells(3, 3) = "=NOW()"
Cells(3, 3).Select
Selection.NumberFormat = "h:mm"
Cells(3, 4) = Cells(3, 3).Value - Cells(3, 2).Value
Range("E1").Select
End Sub

Hiç yorum yok:

Yorum Gönder