+ Reply to Thread
Results 1 to 3 of 3

Suppress Circular reference message

  1. #1
    Registered User
    Join Date
    01-27-2008
    Posts
    15

    Suppress Circular reference message

    Hi all,

    I've written a code to turn iteration on when a workbook opens but I still get the circular reference error first. Any way to resolve this?

    Kevin

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Kevin,

    Have you checked the check box Iterations on the Calculation tab of the Options dialog or set it in code using Application.Iteration = True?

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    02-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Suppress Circular reference message

    I am having the same issue, after lots of time on Google.

    I assume you have used some code in ThisWorkbook to tell Excel to enable iteration on the Workbook_Open event, Kevin?

    The problem seems to be that Excel detects and alerts for circular references BEFORE starting the VBA script. Thus the error message pops up (annoyingly) before the Workbook_Open event occurs, enabling iteration.

    As VBA has not yet started, it doesn't even appear to be possible to automatically cancel the alert box either ... I think, unless anyone can shed some more light on this, that it's just a design flaw in Excel.

+ 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