Solved

Invalid procedure call or argument error when opening add-in

Posted on 2014-01-27
5
333 Views
Last Modified: 2014-01-27
Hi experts:

I cannot open the .xla file with Excel 2010.  When I double click the .xla file, I first got asked whether I want to enable macro, which is expected and I answer yes, but then this error message appears: "Invalid procedure call or argument" which I click OK on. After this the Add-in  tab does not show up at the top of the screen although I can still click on Developer->Visual Basic to view the code of the add-in.

I used to use Excel 2003 and recently changed to 2010 and everything had been running fine until today, The QA guy who is accessing the same .xla file uses Excel 2003. He might have done something, but I am not sure.

Please help.
0
Comment
Question by:sdc248
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Ken Butters
Comment Utility
Did you mean to attach the xla file?

Please attach it for review.
0
 

Author Comment

by:sdc248
Comment Utility
I cannot attach the .xla file. It's huge.

I have backed up my new code and tried open the original version, which everyone else has no problem opening (including myself before today), but am getting same error. So I think it's my Excel client that is having issues.
0
 
LVL 80

Accepted Solution

by:
byundt earned 125 total points
Comment Utility
Did you try rebooting your computer?

If the reboot doesn't fix the problem, can you view the add-in code? You do so by opening the VBA Editor with ALT + F8, and then double-clicking one of its module in the Project Explorer pane on the left of the VBA Editor window. Having done that, then use the Debug...Compile VBAProject menu item to identify which statement is causing problems.
0
 
LVL 19

Assisted Solution

by:Ken Butters
Ken Butters earned 125 total points
Comment Utility
It is purely guesswork as to what could be causing the problems without being able to see or test the code.  

One possibility is that the XLA refers to a dll or some external library that you do not have installed on your machine, but that is installed on some of the other machines where it works.
0
 

Author Comment

by:sdc248
Comment Utility
Thanks all for you help.

At one point, I closed up the workbooks and the Excel client, and deleted an EXCEL.EXE item from Windows Task Manager. After this, I started over and everything is running fine now.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

762 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

6 Experts available now in Live!

Get 1:1 Help Now