Solved

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

Posted on 2014-03-19
4
3,863 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
ID: 39942041
Just as a pure guess do you have the latest Net Framework version installed ? maybe an update ?
gowflow
0
 

Author Comment

by:Jennifer Barman
ID: 39942405
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
ID: 39942820
0
 

Author Closing Comment

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

Thank you.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

733 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