>I found a very strange behaviour of the Excel application object when VFP Debugger is open. For reproducing of this behaviour test the following rows of code
>
loExcel1=CREATEOBJECT("Excel.Application")
>loWbs=loExcel1.Workbooks
>loWBNew=loWbs.Add
>? loWbs.Count
>? loWbs.Count
>? loWbs.Count
>
>The number of the added workbooks grows very fast.
>Could anybody explain that?
>
>VFP9.0 SP1 on Windows XP Professional
I don't know what are you seeing. I'm seeing exactly what is expected (1 and 1 and 1 ...).
Cetin