Solved

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

Posted on 2014-03-19
4
3,767 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

This collection of functions covers all the normal rounding methods of just about any numeric value.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 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