• Show no of days left to Christmas on a Form (2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Outlook and email programs » Show no of days left to Christmas on a Form (2003)

    Author
    Topic
    #413691

    I know this is really sad – (my excuse is that I am trying and make custom form building a bit more memorable)

    But I want as part of a custom form to add a field to show how many days there are left to Christmas. Can anybody help please?

    Thanks

    Roberta

    PS does anyone know of any decent online tutorials for form building I could recommend for further study?

    Viewing 1 reply thread
    Author
    Replies
    • #914542

      Roberta, I don’t use forms, and cannot help with that aspect, but if you are using VBA in your form, the

      DATEDIFF(“d”, Date, DateSerial(Year(Date), 12, 25))

      VBA function should get you the daycount (depending on if you want to count today or not).

      • #914576

        Your a genius – just had to put sets of brackets along side the “date” bit and it works a treat.

        Thanks

      • #914577

        Your a genius – just had to put sets of brackets along side the “date” bit and it works a treat.

        Thanks

    • #914543

      Roberta, I don’t use forms, and cannot help with that aspect, but if you are using VBA in your form, the

      DATEDIFF(“d”, Date, DateSerial(Year(Date), 12, 25))

      VBA function should get you the daycount (depending on if you want to count today or not).

    Viewing 1 reply thread
    Reply To: Show no of days left to Christmas on a Form (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: