Results 1 to 20 of 48

Thread: Calendar control not working

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,321
    Location

    userform calendar control

    Hey guys,
    I found this some time back and have been using it exclusivly. Even in Windows the native calendar control is not portable if they don't have the control in the system where you move it.

    Works on sheet code but only pops up if you click a cell with a specific format.
    might work on mac-don't know but worth a look.

    This one is for excel
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Quote Originally Posted by lucas
    Hey guys,
    I found this some time back and have been using it exclusivly. Even in Windows the native calendar control is not portable if they don't have the control in the system where you move it.

    Works on sheet code but only pops up if you click a cell with a specific format.
    might work on mac-don't know but worth a look.

    This one is for excel
    Hi,

    What a beauty! Please do submit this one as well for a kb entry?
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

  3. #3
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,321
    Location
    Quote Originally Posted by MOS MASTER
    Hi,

    What a beauty! Please do submit this one as well for a kb entry?
    Thanks Joost I have had a lot of opportunities to use this and everyone likes it. The best part is its portability. I will submit it to the kb
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Quote Originally Posted by lucas
    Thanks Joost I have had a lot of opportunities to use this and everyone likes it. The best part is its portability. I will submit it to the kb
    Exactly portabillity is the key word!

    I've learned only this week from Shades & Blue Cactus in this topic that a mac doesn't support ActiveX (Btw I loved the other entry as well!...more work to try)

    But I've never worked on a Mac so I didn't mis it...but it will come in handy one day for sure.

    Later..
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

  5. #5
    Just A Dude VBAX Tutor Scottie P's Avatar
    Joined
    May 2004
    Location
    Remote from 18901 USA
    Posts
    263
    Location
    Quote Originally Posted by MOS MASTER
    Exactly portabillity is the key word!
    I've learned only this week from Shades & Blue Cactus in this topic that a mac doesn't support ActiveX (Btw I loved the other entry as well!...more work to try)
    But I've never worked on a Mac so I didn't mis it...but it will come in handy one day for sure.
    I am with you MM - never worked on a MAC and didn't realize ActiveX wasn't supported. I actually found out about the ActiveX issue 1 day before the thread started.

    I was checking out your TimePicker application in the other thread. That lead me to go on to the Newsgroups to find something else that I had a question about. It was in one of the Newsgroup threads that I found out that MAC does not support the ActiveX feature. Who Knew?

    Interesting and I suppose it creates some unique circumstances, but it also leaves open a great opportunity for someone creative with VBA...so maybe it isn't a bad thing

    I think this thread and the one you were involved in both have provided me - and a few others - with some key information. Very cool.

    S
    Life is Visual: Presence is Perception...
    How we see the world is how we respond to it. ~* Peace *~

  6. #6
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Quote Originally Posted by Scott
    I think this thread and the one you were involved in both have provided me - and a few others - with some key information. Very cool.
    S
    Well glad to here we've both learned new tricks.
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

  7. #7
    VBAX Tutor
    Joined
    Mar 2005
    Posts
    268
    Location
    OK, I promise this is the last version for this thread. It is now the five-mode calendar. Feature-complete, suits my own purposes extremely well. Code is being washed and on the way to KB...

    Features are now accessed through:
    Call DatePick.FillVars([defaultDate][,dpMode][,forceCancel][,displayComments][,eventList])
    defaultDate Optional as Date. The date to return if user clicks 'OK' without selecting a date. Defaults to current date.
    dpMode Optional as Integer. Calendar mode: zero through four. Experiment away! Defaults to zero.
    forceCancel Optional as Boolean. Do you want a 'Cancel' button. Defaults to False. 'Cancel' returns date as zero.
    displayComments Optional as Boolean. Default False. Displays comments associated with event list items for dpmodes two through four.
    eventList Optional as Variant containing Array. Dates as Variant Date in eventList(i,1). Event names in eventList(i,2). Comments in eventList(i,3) LBound(eventList, 1) = 1; LBound(eventList, 2) = 1

    Edit: Code removed, see post #38.
    Last edited by Aussiebear; 01-27-2025 at 11:02 AM.

Posting Permissions

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