I have a macro that creates a new workbook and adds data. Once a certain number of rows have been added, a new sheet is created and the new data goes there.
Here's what's odd: When I put a break point in the code where the new sheet is created, the program runs exactly as expected (the new workbook appears, pages are added, etc). However, if I remove the break point, nothing appears to happen and the new workbook is not saved (one of the lines in the macro).
It feels like I need to add a line of code to make the new workbook appear or something like that. Please point me in the right direction.
--update
Just did some reading and found the RefreshAll. command. I added this to the code after the data is entered and the first sheet of the new workbook appeared. But when the second sheet was added/filled, the workbook did not change.



