+ Reply to Thread
Results 1 to 6 of 6

Used Range Won't Reset At All

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Used Range Won't Reset At All

    I've tried everything, and still the UsedRange of our 74-row worksheet insists on running until row 1048576 (in an XLSM workbook).

    Things I've tried:
    • Delete unused rows
    • Clear All on unused rows
    • Apply cell style Normal to unused rows
    • Check all formulas for references to entire rows
    • Check all conditional formattiong references to entire rows
    • And, of course, Save, Close, ActiveSheet.UsedRange to reset the last cell

    Whatever I do, whatever I try, the last cell remains in row 1048576. Saving to XLS and back to XLSM, and some additional unhiding and resetting, do fix the issue, but destroys the formulas and formatting in the worksheet.

    I'm about to tell my user to copy-paste content and formatting to a new sheet and throw out this one.

    But I want to know what's wrong, how we might fix it, and how we can avoid the issue in the future. Any additional ideas?

    PS: Exporting and analyzing the XML for the sheet is not an option, because the sheet is so bloated the XML file is uneditable.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Used Range Won't Reset At All

    Hi florismk

    I recently had the same issue with OP file....Have a look at this link
    https://www.excelforum.com/excel-pro...ml#post4649874
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    05-17-2013
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Used Range Won't Reset At All

    I'm afraid this doesn't help me, sintek (but thanks for the input). I've Clear All-ed and deleted the empty rows; so I am 100% certain there is no content or formatting of any kind left.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Used Range Won't Reset At All

    Upload your workbook so that we can have a look

  5. #5
    Registered User
    Join Date
    05-17-2013
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Used Range Won't Reset At All

    I'm afraid I can't. It's confidential. I'll see about stripping the confidential information and uploading one of the problematic worksheets only.

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Used Range Won't Reset At All

    Hi,

    I have seen this happen on a worksheet when the row heights were not all the default row height- which can vary from system to system. I'd suggest checking the default in a new workbook on your computer, then resetting the heights on the problem sheet if they are different.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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 reset my dynamic name range
    By Sashen in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-19-2013, 02:11 PM
  2. reset the values of a range
    By jiansong_yu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2011, 04:33 AM
  3. Reset used range to nothing
    By oteixeira in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2010, 02:30 PM
  4. Reset Range in Function
    By jaslake in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2009, 11:20 PM
  5. Reset the value in a range
    By al1 in forum Excel General
    Replies: 2
    Last Post: 04-27-2009, 10:22 AM
  6. [SOLVED] Range variable not being reset
    By Henry Stock in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2005, 02:30 PM
  7. reset the data range...
    By Chris Salcedo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 09:05 PM
  8. how do you set or reset the print range for several sheets at a ti
    By Mestrella31 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-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