+ Reply to Thread
Results 1 to 8 of 8

Form takes a long time to open

  1. #1
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    Smile Form takes a long time to open

    I also have attached it so you can view. This form is not large, but it seems to take awhile to open, can someone look at the code and tell me if something in the code is causing this?

    Please Login or Register  to view this content.

    Also, where would you put code to add a calendar drop down, if that is possible?
    Last edited by 00Able; 11-27-2010 at 09:08 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Adding a drop down Calendar to VB User Form

    Your one named range is 65536 rows long.

    Use this to populate the Line Lead ComboBox
    Please Login or Register  to view this content.
    Right click on the Tool Box,select add additional controls, see if You can find Microsoft Date and Time Picker. Click it to add to your tool box.
    Last edited by davesexcel; 11-27-2010 at 03:03 AM.

  3. #3
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    Re: Adding a drop down Calendar to VB User Form

    where do I place that at in the code? Also I have microsoft 2010 and I do not see the "Microsoft Date and Time Picker"

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

    Re: Adding a drop down Calendar to VB User Form

    I wouldn't use the DatePicker control, it can be problematical - it's not always available on other users'PCs & from Office 2010 it is no longer available.

    See the alternatives herehttp://excel-it.com/free_addins.htm, I generally recommend the ComboBox example
    Hope that helps.

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

    Free DataBaseForm example

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Adding a drop down Calendar to VB User Form

    replace
    Please Login or Register  to view this content.
    With this

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    Re: Adding a drop down Calendar to VB User Form

    Thank you to both of you for both of your assistance.

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

    Re: Adding a drop down Calendar to VB User Form

    Quote Originally Posted by 00Able View Post
    where do I place that at in the code? Also I have microsoft 2010 and I do not see the "Microsoft Date and Time Picker"
    Your profile says Excel 2003, I suggest you amend it.


    Excel 2010 does not support Calnedar controls

  8. #8
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    Re: Adding a drop down Calendar to VB User Form

    Quote Originally Posted by royUK View Post
    Your profile says Excel 2003, I suggest you amend it.


    Excel 2010 does not support Calnedar controls
    At home, I have 2007 and 2010; however, at work I have 2003...so I have to make sure everything is 2003 compatible...wish they would update...

+ 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