Excel 2013 custom toolbar loading

I have a custom toolbar that is created via an addin. The addin is stored in the Roaming addins folder under my use profile and should load whenever Excel opens.
Since switching to 2013 (64 bit) I have noticed that the addin performs fine unless I use right click from the taskbar to open a recent file. If another version of Excel was open with the addin loaded the addin is there but if the right click was the first instance of excel opened the addin fails to load.

Does anyone know why this might be and how I can prevent it?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ProfessorJimJamMicrosoft Excel ExpertCommented:
what was your previous version of Excel before switching to 64bit 2013? was it   Excel 2010 32 bit? or  Excel 2013 32 bit?  which one?

most of the add-ins support 32bit version?  is it a commerial add-in? it has a name?
EpipgxAuthor Commented:
I was on 2007 32-bit. It is an addin I have written to create a toolbar to allow quick access to lots of macros called ExcelMacroBar.xlam.
ProfessorJimJamMicrosoft Excel ExpertCommented:
did you use the VBA7 declation in your addin?

#if Vba7 then
'  Code is running in the new VBA7 editor
     #if Win64 then
     '  Code is running in 64-bit version of Microsoft Office
     '  Code is running in 32-bit version of Microsoft Office
     #end if
' Code is running in VBA version 6 or earlier
#end if
#If Vba7 Then
Declare PtrSafe Sub...
Declare Sub...
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

EpipgxAuthor Commented:
No and the addin loads and works perfectly except in that one very specific instance
EpipgxAuthor Commented:
I have figured it out for some reason the analysis toolpak VBA addin was on and under right click it failed to load. I have disabled that an all functions normally.

Really appreciate your efforts ProffessorJimJam

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Zack BarresseCEOCommented:
To be clear, you don't need to use conditional compilation unless you want different code bits to be compiled for different constants/architectures (whatever the constants refer to). So long as you don't have anything that won't run in 32-bit and 64-bit there's no need for it at all. If you're using API's that won't compile the same in 64-bit as they do in 32-bit then you're fine. You can even use the PtrSafe in 32-bit so long as it's VBA7 (2010 or later).

EpipgxAuthor Commented:
the original question was a setup error not something an expert could have offered advice on.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.