+ Reply to Thread
Results 1 to 4 of 4

Finding errors in a workbook

  1. #1
    Forum Contributor
    Join Date
    05-19-2004
    Location
    United States
    MS-Off Ver
    Office XP and Office 2003
    Posts
    127

    Finding errors in a workbook

    Is there a way that we can find out if a workbook has any errors in it like #Value or #Ref? We have a workbook with about a dozen sheets where data is entered into different cells. We would like to find a way without looping through and checking every cell on each sheet.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Edit > Goto > Special > Errors

  3. #3
    Forum Contributor
    Join Date
    05-19-2004
    Location
    United States
    MS-Off Ver
    Office XP and Office 2003
    Posts
    127
    Thanks, but I need to find something in terms of VBA code. What I want to do is to have code to make sure there are no errors in the workbook before they are able to save it.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Then use the SpecialCells method to select errors on each sheet. If the range is Nothing, then there are no errors.

+ Reply to Thread

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