I'm having a trouble with chart size. In some of my charts, while running my macro, Excel changes automatically the size of my chart, turning it difficult to read (it is not an automatic way to make it more readable). While debugging it does not occur.
I found a way to avoid this while running: adding the code
Application.ScreenUpdating = True
Application.ScreenUpdating = False
Yes, one line just after the other, without anything between them.
The problem is: I don't want to show anything before the macro is done. Doing this way, the sheet is shown, with many unformatted things.
I'd like to know why this happens. Is there some setting to change this? If not (if it is a bug), has anyone seen the same problem, and knows a more elegant way to avoid it.
Thanks in advance
I found a way to avoid this while running: adding the code
Application.ScreenUpdating = True
Application.ScreenUpdating = False
Yes, one line just after the other, without anything between them.
The problem is: I don't want to show anything before the macro is done. Doing this way, the sheet is shown, with many unformatted things.
I'd like to know why this happens. Is there some setting to change this? If not (if it is a bug), has anyone seen the same problem, and knows a more elegant way to avoid it.
Thanks in advance