+ Reply to Thread
Results 1 to 6 of 6

File takes forever to open/close

  1. #1
    Forum Contributor
    Join Date
    03-03-2007
    Posts
    101

    File takes forever to open/close

    I created a timesheet template for hourly employees at my job. Every pay period they email me their filled-in timesheets. Each Excel file contains 24 sheets, one for each pay period of the year. Each sheet contains about 50 checkbox userform controls. Here's my problem:

    When I open or close the file, it takes forever for the hour glass to disappear. I believe the checkboxes are to blame. They are somehow using up too much RAM for my computer to upload quickly, even though I have a fast computer.

    When I open the file, I don't want to make changes or to recalculate anything. All I want is to see the timesheet and print it out. Is there a way to turn off the checkboxes or instruct Excel to not upload the checkboxes. Maybe then the files will open quickly.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Forms and Controls checkboxes are major overkill on worksheets. Search for Marlett Checkboxes here and on http://www.ozgrid.com/forum. Very easy implement and use.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    To add to Shg suggestion

    Here's a good addin

    http://www.andrewsexceltips.com/Marlett_Checkboxes.zip

    Main site here

    http://www.andrewsexceltips.com/

    Or try these links

    http://www.ozgrid.com/forum/showthread.php?t=79854

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=879


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Contributor
    Join Date
    03-03-2007
    Posts
    101

    assigned macro locks checkbox

    Thanks for the info. I never heard of marlett boxes before. Attached is a file showing what I've done. I created the marlett box and assigned a macro to it, but now I'm unable to untick the box. Can marlett checkboxes work with macros? The macro in this sample deletes cells A2:A4.
    Attached Files Attached Files

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try this event macro. Right click the sheet tab > select view code

    Please Login or Register  to view this content.
    VBA Noob

  6. #6
    Forum Contributor
    Join Date
    03-03-2007
    Posts
    101
    Thanks for the tip. I'm incorporating your macro and experimenting with different modifications. Everything good so far.

+ 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