• DİKKAT

    DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
    Altın Üyelik Hakkında Bilgi

dakikayı göstermek

Katılım
12 Şubat 2007
Mesajlar
144
Excel Vers. ve Dili
2003
TextBox18 = Int((TextBox14.Value / TextBox17.Value) * 24)
saat = Int((TextBox18.Value / 24 - Int(TextBox18.Value / 24)) * 24)
TextBox2 = Format(Int(TextBox18.Value / 24) + CDate(TextBox1), "dd.mm.yyyy") & " " & Format(saat, "00") & ":00"

textbox1 e ilk tarih elle giriliyor ve Textbox18 de üretim saati hesaplanıyor buna göre textbox2 ye textbox18 de hesaplanan üretim saatine göre tarih ve saat atıyoruz ancak hep tam saatleri atıyor ben dakikalarıda görmek istiyorum.Yardımcı olursanız sevinirim.
 
Aşağıdaki gibi deneyin.

Kod:
TextBox18 = Int((TextBox14.Value / TextBox17.Value) * 24)
saat = Int((TextBox18.Value / 24 - Int(TextBox18.Value / 24)) * 24)
dakika=((TextBox18.Value / 24 - Int(TextBox18.Value / 24)) * 24-saat)*60
TextBox2 = Format(Int(TextBox18.Value / 24) + CDate(TextBox1), "dd.mm.yyyy") & " " & Format(saat, "00") & ":" & format(dakika,"00")
 
tşkler

teşekkürlerimi iletiyorum.iyi çalışmalar dierim.
 
Geri
Üst