fun with dates?

Discussion in 'AutoCAD' started by Jaime, Jun 26, 2003.

  1. Jaime

    Jaime Guest

    im trin to fill a combobox with date values...the kicker is i only dates
    that are "fridays"

    any suggestions?

    Jaime
     
    Jaime, Jun 26, 2003
    #1
  2. Dim TGIF As Date
    Dim iCount As Integer

    TGIF = Date
    TGIF = TGIF Xor vbFriday

    For iCount = 1 To 10
    TGIF = TGIF + 7
    MsgBox (Format(TGIF, "dddd, mm/dd/yy"))
    Next
     
    Gary McMaster, Jun 26, 2003
    #2
  3. Your welcome.
     
    Gary McMaster, Jun 26, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.