+ Reply to Thread
Results 1 to 5 of 5

Excel not responding (freezing) when typing anything in cells

  1. #1
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Excel not responding (freezing) when typing anything in cells

    Hi all,

    I have an excel file (macro enabled) & it freezes when i type anything in to any cells within the table range. It freezes with not responding error & then goes normal after 10- 15 seconds. This keeps on happening repeatedly. The file has a VBA code written to execute cell data to convert as comment.

    Any idea why this must be happening and how do i resolve? i tried disabling the add-ins but no success.

    File attached for reference.

    Thanks,
    Mahesh

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Excel not responding (freezing) when typing anything in cells

    Post the code for the event handler. Chances are it's looping if you make a change within the event handler.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Excel not responding (freezing) when typing anything in cells

    I had no problems with it, but I notice you have a lot of conditional formatting (some of it overlapping) in the table. That may be a problem, especially in older versions of excel.

  4. #4
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Excel not responding (freezing) when typing anything in cells

    Hi TMS,

    Please see the code in the file:

    Sub ConvertToComment()
    Dim C As Range
    For Each C In Selection
    C.ClearComments
    If Len(C.Value) > 0 Then
    C.AddComment
    C.Comment.Text C.Value & ""
    End If
    Next C
    End Sub

    I am newbie to VBA coding; a kind friend has helped with this code.

    Please see if this code needs to be improved OR help with an alternative resolution, may be.

    Thanks,
    Mahesh

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Excel not responding (freezing) when typing anything in cells

    Yes, works for me in this sample. As dangelor has noted, the CF looks fragmented which is not an issue in this small sample but could be with lots more data, rows and columns. This can happen if/when you add/delete rows and/or columns. Probably worth removing all CF, testing again, and then re-instating.

+ 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. Excel (Not responding) when deleting 500,000 cells
    By sajeel in forum Excel General
    Replies: 6
    Last Post: 05-12-2020, 06:30 PM
  2. Problems with macro freezing excel, not responding
    By selectio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2020, 02:26 PM
  3. Freezing cells without freezing columns
    By jensslofstra in forum Excel General
    Replies: 2
    Last Post: 09-26-2018, 01:51 AM
  4. [SOLVED] Deleting 70,000 cells is freezing up excel
    By stephme55 in forum Excel General
    Replies: 4
    Last Post: 01-29-2016, 02:32 PM
  5. Excel not responding when sorting cells
    By MarkWWW in forum Excel General
    Replies: 2
    Last Post: 08-23-2015, 07:31 AM
  6. Macro Freezing up/ "Not Responding"
    By jrabenhorst in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2013, 12:06 PM
  7. Calculating Cells causes Excel to stop responding
    By Marina in forum Excel General
    Replies: 1
    Last Post: 04-26-2005, 02:06 PM

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