Quantcast
Channel: Microsoft Community - Super Fresh
Viewing all articles
Browse latest Browse all 1237235

Why does macro provide desired result in edit mode, using step-in at every command, but returns different result when run?

$
0
0
I have a fairly extensive macro to refresh queries, set column widths and format date/amount columns on multiple worksheets in my workbook.  When writing the macro, and using F8 to step through to verify correct results, the macro operates exactly as I planned. However, if I run the macro, it gives a completely different result. Since the step through in edit mode is correct, I cannot identify the problem. Any suggestions?

Viewing all articles
Browse latest Browse all 1237235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>