+ Reply to Thread
Results 1 to 2 of 2

Macro crashing on certain line

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    25

    Macro crashing on certain line

    Hi all, my macros crashing on the line: "LastRow = ActiveSheet.UsedRange.Rows.Count"


    Please Login or Register  to view this content.

    Thanks, Matt!

  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 crashing on certain line

    I assume you have more than 32768 rows in your Data worksheet.

    Try changing to :
    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

+ 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. UDF Macro crashing excel while UDF is recalculating
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2012, 08:12 PM
  2. Macro keeps crashing excel
    By aharvestofhealth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2010, 06:57 AM
  3. Excel Keeps crashing after macro attempt
    By phschris1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2009, 10:24 PM
  4. Crashing Macro, Not Enough Memory
    By newsuser@zonnet.nl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2005, 07:05 AM
  5. Help with a crashing Macro needed
    By Tadragh1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2005, 06:05 PM

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