+ Reply to Thread
Results 1 to 4 of 4

Macro causing Excel to freeze

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    Cincinnati
    MS-Off Ver
    Excel 2007
    Posts
    9

    Macro causing Excel to freeze

    Hi guys. Long time lurker, first time poster!

    I've searched long and hard for a solution to this, but I'm just a derp when it comes to macros so I need some help.

    I have a spreadsheet to keep track of daily jobs in progress. It consists of 6 tables (5 weekdays + 1 miscellaneous), each table lists customers, job descriptions, and details. The first column will have "D" for done or "I" for in progress. The macro is set up to automatically re-sort (Z to A) on cell changes so that anything marked "D" moves to the bottom. This all works great.

    However, any time I clear cells or delete a row, Excel locks up. I'm sure it has something to do with the "Clear" commands listed below, but I removed those and it still screws up. Any ideas?

    Thanks!
    Andrea

    Please Login or Register  to view this content.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro causing Excel to freeze

    Edit:

    Maybe you are just missing out the Application.ScreenUpdating = True at the end?
    Last edited by millz; 10-17-2013 at 09:04 AM.

  3. #3
    Registered User
    Join Date
    10-17-2013
    Location
    Cincinnati
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Macro causing Excel to freeze

    Well, that was easy. Hahaha. Thank you!!!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro causing Excel to freeze

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA Macro Causing Excel To Crash - Can it Be More Efficient?
    By LoggersAW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2013, 08:49 PM
  2. Macro causing Excel to freeze - intended to hide cells with zero value
    By ParkingExcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-26-2012, 02:11 AM
  3. macro adjustment needed causing freeze
    By ryanb4614 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2010, 09:46 PM
  4. .Find Loop causing Excel to freeze
    By trippin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-21-2010, 09:52 PM
  5. Excel 2003 freeze panes won't freeze top row only
    By macbone2002 in forum Excel General
    Replies: 1
    Last Post: 05-31-2006, 11:10 AM

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