+ Reply to Thread
Results 1 to 6 of 6

Find formulas (or errors) in hidden tabs

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    London
    MS-Off Ver
    MS 365 (apps for business)
    Posts
    32

    Find formulas (or errors) in hidden tabs

    I have a shared workbook of weekly reports which has over 30 hidden tabs. Tabs are hidden so that only the current week's data is visible and the following week, that tab would get hidden and next week's tab would be visible and so on.

    Recently I've come across a message that there is a formula error somewhere in the workbook (see screenshot).

    How can i find which page has a formula / error in a workbook that has hidden tabs please, without having to 'unhide' every single tab?

    thank you
    Attached Images Attached Images

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Find formulas (or errors) in hidden tabs

    Pls try this code

    Please Login or Register  to view this content.
    Last edited by wk9128; 07-04-2023 at 03:03 PM.

  3. #3
    Registered User
    Join Date
    02-21-2017
    Location
    London
    MS-Off Ver
    MS 365 (apps for business)
    Posts
    32

    Re: Find formulas (or errors) in hidden tabs

    Thanks WK9128

    Tried it but got a 'Run-time error '1004': No cells were found' message.

    I'm a beginner in VBA so i've copied and pasted the code in and 'run' it.

    Am I doing something wrong?

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Find formulas (or errors) in hidden tabs

    POST#2 code has been updated, please test it
    Last edited by AliGW; 07-05-2023 at 04:25 AM. Reason: Please do NOT quote unnecessarily!

  5. #5
    Registered User
    Join Date
    02-21-2017
    Location
    London
    MS-Off Ver
    MS 365 (apps for business)
    Posts
    32

    Re: Find formulas (or errors) in hidden tabs

    Thank you, that did work and I had a message that 'No formula errors found in hidden tabs'.

    But when I close / open the document - I still keep getting the original 'circular references' message I posted about. :-(

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Find formulas (or errors) in hidden tabs

    To resolve circular references, you can follow these steps:

    Identify the cell(s) causing the circular reference. Excel usually displays an error message with the cell reference(s) involved.
    Determine the correct formula or value that should be in the cell(s) causing the circular reference.
    Change the formula or value in the cell(s) to remove the circular reference.
    Verify that the new formula or value achieves the desired result.
    By fixing the circular reference issue directly, you should no longer receive the error message when closing and reopening the document.

+ 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. Hyperlinking to hidden tabs - hidden tabs unhide / hide automatically.
    By jexcelio in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-31-2016, 02:42 AM
  2. [SOLVED] Format all cells in all sheets to Protection Hidden on visible and hidden tabs
    By DeRo22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2014, 03:17 PM
  3. [SOLVED] trying to access the excel sheets/Tabs in the hidden/very hidden mode through hyperlinks
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-30-2013, 06:50 AM
  4. Find all tabs with formula errors
    By antiquest in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-28-2012, 12:09 PM
  5. Replies: 0
    Last Post: 08-01-2012, 11:03 AM
  6. How can I find/unhide hidden excel sheet tabs on a worksheet?
    By magician in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2012, 05:37 PM
  7. VBA to recurse sheets and find errors in formulas and cond formatting?
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-24-2010, 12:12 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