View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Zoo Zoo is offline
external usenet poster
 
Posts: 40
Default How do I turn around 'Circulation Reference' msgbox?

I have a UDF named Test() written below.
And I put it into Sheet1.A1 : = Test()
And I activate Sheet2 and press Ctrl + Alt + F9 (CalculateFull).
Then a msgbox is shown : 'There is a circulation reference....'
I want to turn around the msgbox.
(I tried setting Apllication.DisplayAlerts property to false in vain.)

'---------UDF -------------------------------
Function TEST()
If Not Application.Caller.Parent Is ActiveSheet Then
TEST = Application.Caller.Value
Exit Function
End If
TEST = Format(Now, "HH:MM:SS")
End Function