Results 1 to 5 of 5

Ghost last cell used

Threaded View

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    East-London, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    13

    Ghost last cell used

    Hi All,

    I use Excel 2010. I have an workbook with several worksheets used as database. All rows and columns that are not used are hidden. When a new record is added, the first hidden row following the last record (used row) is unhidden.

    After some use the last cell used is moved to a cell with no data sometimes more tha double the number of rows further than the actual last row. If I run MsgBox ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Address the response is way beyond the actual last cell used.

    I have tried everything, (a) delete all rows up to and beyond the ghost last cell, and (b) delet the "contents" of all cells up to and beyond the ghost last cell, to no avail.

    If I copy and paste the actual data to a new worksheet, the actual last cell used is given.

    I assume a marker is put in the worksheet one or other way where the last used cell is.

    My question is: How do I correct this marker without having to go through the schlep of copy and past to a new worksheet which creates a lot of additional work to format, reset cell addresses, etc?
    Last edited by Zagrijs; 02-27-2012 at 09:27 AM.

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