Hi Hayden. I didnt realise it was that obvious! Thanks for your help.
I now have a new issue however if you are interested...
When I try to add-in the xll with the command line, excel opens but it
will not add-in due to my code not having a digital signature. This is
probably because excel restricts addings due to harmful macros?
Anyway, the only way I know to get around this is to create a digital
signature with a pfx file. I have already done this the problem is
that when i try to compile in visual studio I get the error:
"Assemly generation failed -- Referenced assembly
'ExcelDna.Integration' does not have a strong name."
So in otherwords the ExcelDna reference itself does not have a digital
signature which is stopping my program from compiling with even though
mine has one.
Any ideas?
> > Much appreciated.- Hide quoted text -
>
> - Show quoted text -