Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Excel

Circular Reference Warning

 
Jump to:  
 
R Tanner
PostPosted: Wed Sep 03, 2008 12:59 pm    Post subject: Circular Reference Warning
       
Hi,

I am getting a circular reference warning with my workbook when I open
it up. There are no indicators as to where the circular reference is
and it is a very big workbook. I have been doing alot of programming
with it - more programming than formulas. Any ideas how I can trace
it down?

Thanks
 

 
Guest
PostPosted: Wed Sep 03, 2008 3:03 pm    Post subject: Re: Circular Reference Warning
       
You can try using something like this:

As Worksheets("Sheet1").CircularReference only selects the first one
has to clear (content) of the found ref cell.

Sub FindCirRef()

Dim RefCell As Range
Dim Counter As Long

For Counter = 1 To 4

Set RefCell = Worksheets("Sheet1").CircularReference
RefCell.Copy
Worksheets("Sheet2").Cells(Counter, 1).PasteSpecial
Paste:=xlPasteFormulas
Worksheets("Sheet2").Cells(Counter, 2).Value = CStr(RefCell.Address)
RefCell.ClearContents

Next Counter

End Sub
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Diety Pendrive make money online Mieszkania Kraków szybkie kredyty gotówkowe