+ Reply to Thread
Results 1 to 3 of 3

Problem closing calendar with userform

  1. #1
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Problem closing calendar with userform

    Hi,

    I have a userform where I introduce the dates with a small calendar that pops up. The problem is that each time I close the calendar (pressing the cross key incorporated in that calendar) displays in the textbox a default date instead of just leaving the textbox contents as it was...

    I have attached the file so that you can see better whats going. I have put a background color of red on the cells in which occurs that.

    Thanks!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-03-2005
    Location
    Harpers Ferry, WV
    Posts
    26

    Re: Problem closing calendar with userform

    Didn't look at it completely but check to make sure you aren't going back through your initialize code for the main form/field. That should be the only way it would change it unless you aren't handling the close properly.
    Old Programmers Never Die ... They Just Lose Their Bits

  3. #3
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Problem closing calendar with userform

    Hi, yes its correct.
    I made some changes and its running okay!

    Thankss

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1