Results 1 to 9 of 9

#REF! error appears after deleting a row

Threaded View

  1. #1
    Registered User
    Join Date
    05-08-2018
    Location
    Boston, MA
    MS-Off Ver
    Office 365
    Posts
    6

    #REF! error appears after deleting a row

    Hi,
    I am getting a sinking feeling that my problem is just how Excel works!?

    Attached is a sample of a worksheet in an app that I developed to track and report van ridership usage. After a lot of hours of time effort the form/app works just great!! Except for one detail: if, for whatever reason, a user may discover that one entry needs to be deleted. When he/she uses either the built-in "form" or right clicks and deletes using the rows index column a #REF! appears in certain cells in the row immediately following the deleted row. No subsequent rows develop this error.

    The attached workbook has 3 worksheets.
    Sheet1 shows the table with 6 rows of data.
    Sheet2 is just for a quick way to view the underlying functions and values.
    Sheet3 shows the two "#REF!" errors at cells H4 and K4. These appeared after deleting the row with ID: 1002. I kind of understand why it happened i.e. the reference to Cell G3 was momentarily lost!? But note that the row with ID 1004 does not have these errors. In other words their references updated correctly.

    What should I do?
    Should I create a custom lookup form with deleting capabilities to handle this problem? Or should I rethink my approach and key in on something else? Or??
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Deleting Rows if Value Appears in Another Table
    By thesonofdarwin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-17-2017, 12:41 PM
  2. Userform VBA Password Box Appears before deleting select data
    By kirana2014 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2016, 12:42 PM
  3. Deleting what appears to be a watermark
    By TTERRIE in forum Excel General
    Replies: 6
    Last Post: 05-20-2016, 10:16 AM
  4. Replies: 2
    Last Post: 02-03-2016, 12:23 PM
  5. Error in interpolation when a new day appears
    By elfvis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2007, 10:05 AM
  6. [SOLVED] line appears when deleting chart- cannot delete it
    By Brian in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2006, 08:50 AM
  7. Appears error (424)
    By 007007007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2005, 10:00 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