Solved

Excel VBA - Exception from HRESULT: 0x800AC472 Microsoft .NET Framework

Posted on 2014-03-19
4
3,436 Views
Last Modified: 2014-04-03
I am working on a project I have worked on many times. The application itself is canned, however it has some inner mapping to data and puts the data on a bookmarks tab. From there in conjunction with this said application, you can print a quote per say.

The canned application has had many revisions and so has the Micro Enabled Template that goes along with it. (I manage the template).

So my issue is when I click on the canned applications Print Quote Button it will load the template and then flash excel on the taskbar. After about 2 minutes the Print quote message box is still up (when it should have closed - canned app) and a Exception from HRESULT: 0x800AC472. Pops up.

Here is a screen shot.

Picture of error when the excel template is opened in the background
I have done a bit of research on this error, but I cannot quite figure out how to use it in my VBA code.

Attached is the details of the error.

This error will allow the end user to continue, but if you want to look back at the application for some reason, you have to hit Quit and then reopen the app. The pop-up message box is staying open and wont die.

HELP??
VBA-messagebox.txt
0
Comment
Question by:Jennifer Barman
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:gowflow
Comment Utility
Just as a pure guess do you have the latest Net Framework version installed ? maybe an update ?
gowflow
0
 

Author Comment

by:Jennifer Barman
Comment Utility
I can make sure, but  I do believe our framework is set at 4.5

Also, I changed some settings and I am now able to see more information on the error.
error-desc.jpg
0
 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
Comment Utility
0
 

Author Closing Comment

by:Jennifer Barman
Comment Utility
I have about half of it working, still having issues, however I need to create a new article.

Thank you.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now