Waiting for actions to complete, different behaviour when debugging RRS feed

  • Question

  • I have a program that creates a word document from an excel spreadsheet. Tt has been working fine so far but I ran it today and it has managed to mess up.

    When I run it in the debugger step-by step it works fine, and when I insert a "continue" message box at certain points in the code it also works fine. I think the problem is VBA is going onto the next step before the previous step has fully finished.

    Is there any way I can get the program to wait for everything to be complete before continuing?



    • Edited by hanvyj Friday, January 6, 2012 11:22 AM
    Friday, January 6, 2012 11:21 AM