Can't load either 32 or 64 bit XLL

112 views
Skip to first unread message

ajwillshire

unread,
Jan 9, 2014, 11:09:23 AM1/9/14
to exce...@googlegroups.com
Hi,
 
I tried to load an addin on a computer today - 64-bit Windows 7, Excel 2007 - and neither the 32-bit or 64-bit version will load. I even tried some of the basic samples that are included in the Excel-DNA distribution but even they won't load. Regardless of which version I use I always get the "different format than specified" error that comes up when you use the wrong XLL version. The same thing happens whether I use the packed or unpacked XLLs.
 
This is the first time I've ever seen this - Excel DNA works on all other 64, 32 and mixed versions I've ever had to use.
 
Do you have any ideas what it might be?
 
Thanks,
Andrew

Govert van Drimmelen

unread,
Jan 9, 2014, 11:22:02 AM1/9/14
to <exceldna@googlegroups.com>
Hi Andrew,

You can check that the VBA IDE is installed on that Excel - just press Alt+F11. If not, no add-ins will run.

-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at http://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/groups/opt_out.

ajwillshire

unread,
Jan 10, 2014, 5:22:40 AM1/10/14
to exce...@googlegroups.com
Hi Govert,
 
The VBA editor is installed. My workbook checks to see whether it is the 32 or 64 bit version that is required and loads the correct one on a button-push. I couldn't work out why it wasn't working so I was in the VBA editor to check. It turned out that Excel was unable to successfully load either XLL file, which I then confirmed by trying to load them directly (double clicking the file). For both versions I got the error mentioned.
 
Thanks,
Andrew
 
 

Govert van Drimmelen

unread,
Jan 10, 2014, 6:00:58 AM1/10/14
to <exceldna@googlegroups.com>
Anti-virus?

-Govert
--

Jiri Pik

unread,
Jan 10, 2014, 6:16:53 AM1/10/14
to exce...@googlegroups.com

How about corrupted xll files? I got similar problems in the past when I ftp-ed files with ascii instead of binary mode.

 

Try to redownload the xll from Govert’s distribution.

ajwillshire

unread,
Jan 20, 2014, 9:53:14 AM1/20/14
to exce...@googlegroups.com
Hi everyone,
 
Thanks for your suggestions. It was on a client machine and they were able to get their IT department to relocate the XLL to a password-secured "Trusted Location" from whence it worked! Strange that it should result in the unhelpful "different format than specified" error but there we go...
 
Cheers,
Andrew
Reply all
Reply to author
Forward
0 new messages