MS Excel 2007 Visual Basic Automation error

Posted on 2012-09-10
Medium Priority
Last Modified: 2012-10-30
Hi All,

I get a Visual Basic Automation error when opening and closing MS Excel 2007 can you please advise how we can resolve this thanks
Question by:gnkitsc
LVL 13

Expert Comment

ID: 38384395
I'm not entirely sure, but I think the normal.xls file may be corrupted.  I know it's happened to be before, but I don't entirely know how to remedy it.  I wouldn't post with such weak info, but I see nobody has offered any assistance.

If that's not the case, then may just need to reinstall Excel.
LVL 93

Accepted Solution

Patrick Matthews earned 2000 total points
ID: 38384404
Are you running any add-ins, or do you have code running in a Personal Macro Workbook?

If so, disable one of those at a time until you isolate the source of the error.

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

864 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