https://bugs.documentfoundation.org/show_bug.cgi?id=145487
--- Comment #4 from Rafael Lima <[email protected]> --- One interesting finding about this bug is that it has nothing to do with your macro. The same bug happens with any macro provided that you insert a sheet while the processing is stopped by a break point. For instance, try the following macro: Function IncrementByTen(v1 as Variant) As Variant IncrementByTen = v1 + 10 End Function Then insert any value in cell A1 (e.g. 5) and in cell A2 enter '=INCREMENTBYTEN(A1)' Place a break point in the second line of this function (where 'IncrementByTen = v1 + 10' is). Now insert a sheet and when the break point is reached, if you click the Run button, infinite sheets will be inserted. Inserting a sheet without any break points does not cause the problem. This bug is probably related to how user functions are called when a break point is active, causing an infinite loop. -- You are receiving this mail because: You are the assignee for the bug.
