+ Reply to Thread
Results 1 to 3 of 3

Error when populating active cell with date from calendar in user form

  1. #1
    Registered User
    Join Date
    11-29-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    17

    Error when populating active cell with date from calendar in user form

    Dear Members
    I am using multipage user form, installed calendar to populate the active cell with date.

    The following is the scenario:

    a) When active cell is selected, calendar will pop up and when date selected, it populate the active cell with date

    Following Error is coming:

    A) Runtime error ‘13’ type mismatch

    I AM UPLOADING THE FILE FOR REFERENCE



    Regards
    jwala

    Error showing in the following part of Code:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jwala; 12-06-2010 at 08:33 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Error when populating active cell with date from calendar in user form

    I'm not sure where you write to a cell with that code. It adds a date to a control, this works

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-29-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Error when populating active cell with date from calendar in user form

    Dear Royuk

    The code which you given, works perfectly

    Thank you for your valuable time

    I have one more question,

    In my user form " I AM USING COMBO BOX, FOR FILLING TIME"


    Error is :

    a. Time is showing in "DECIMAL FORMAT ( 9:00 showing as "0.375") in the text box of user form

    b. I am using "ROW SOURCE" only from another worksheet, for combo box

    Regards
    jwala

+ 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