Solved

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

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 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