+ Reply to Thread
Results 1 to 3 of 3

Problem with pop-up calendar

Hybrid View

  1. #1
    Registered User
    Join Date
    07-16-2010
    Location
    Baden, Switzerland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Problem with pop-up calendar

    Hey guys,

    I'm new to this forum and I've only been using VBA for a few months. I am working on a macro that uses a userform in which a user can enter information about incoming parts. One of the entries in the form is the date on which the part came in which is selected using a pop-up calendar and then stored into a combo box. Once the user types in all of the data properly, the part is entered into an excel sheet.

    The only problem that I am having is that you have to press on a date twice (instead of the desired once) in order to be able to press OK. If you only select the date from the calendar once and try pressing OK, the macro crashes for some mysterious reason.

    I've been trying to fix this problem for a few days now with no luck. Any ideas?

    Thanks a lot,

    Rusty
    Last edited by rustym; 07-16-2010 at 07:23 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Problem with pop-up calendar

    Hi,

    Can you attach a sample workbook with the userform and code in it?

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    07-16-2010
    Location
    Baden, Switzerland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Problem with pop-up calendar

    sure here it is

    Sana worksheet.xls
    Last edited by rustym; 07-19-2010 at 05:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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