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

Automation errors in Office 2016

$
0
0

Wrote VBA code in Office 2010 and used it successfully in Office 2010 and 2013. Upgraded to Office 2016 and now I'm receiving "Automation errors" randomly. Every time I run the code the automation error shows up in different places. While debugging in VBA editor if I back the execution arrow up and run the code, sometimes the code will run.  Not understanding why this is happening.  Have not found any information on the internet to help with these errors.

Does anyone know why this is happening?  I checked my references and they are all checked.  Giving any code would be worthless because the many errors that show up are random.  Each time I run the code a different area of the code has an error.  It seems as though lines of code are skipped or that the computer cannot keep up with the code which is ridiculous.  The machine is an i7 core processor.  The only thing new here is Office 2016.

Please help.

Best Regards,


Viewing all articles
Browse latest Browse all 1237454

Trending Articles



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