Consulting

Results 1 to 4 of 4

Thread: Solved: Calendar Control question

  1. #1
    VBAX Regular
    Joined
    Feb 2008
    Posts
    32
    Location

    Solved: Calendar Control question

    Hello,


    I would like to open a calendar control on my form to automatically select 14 days out from the current date.

    Any assistance would be greatly appreciated.

    Thanks,

    lhardee

  2. #2
    VBAX Regular
    Joined
    Feb 2008
    Posts
    32
    Location
    I found it !

    [VBA]

    Private Sub UserForm_Activate()

    Calendar1.Value = (Date + 14)

    End Sub


    [/VBA]




    Thanks

    lhardee

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    FYI discussion on the problems you might encounter using the calendar control:

    http://www.vbaexpress.com/forum/showthread.php?t=10914
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    VBAX Regular
    Joined
    Feb 2008
    Posts
    32
    Location

    Solved: Calendar Control question

    Thanks a bunch Lucas,

    I've saved a few things from that discussion that are a big help!



    lhardee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •