Aller au contenu principal

Recherche

Recherche

calculate best before date by Julian calendar day

Commentaires

1 commentaire

  • Avatar
    Broccoletto

    I try to do something but i don't understand why my code don't work!

    Can someone help me?

    This is what i do for now;

     

    date1 = DateAdd("d",("60"),Date)
    date2 = "Date"
    Format.NamedSubStrings("SCADENZA").Value = "date1"
    If Format.NamedSubStrings("SCADENZA").Value <= "date2" Then
     Call Format.CancelPrinting("ATTENZIONE! Scadenza sbagliata","")
     else Format.NamedSubStrings("SCADENZA").Value = date1
    End If
    0

Vous devez vous connecter pour laisser un commentaire.