Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"If I remove my xla add-in, this problem goes away" -
Check your coding in the add-in file, that is the most likely source of the problem. Paul "PM" wrote in message ... Hi, I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Paul,
I am trying hard to find if the code is preventing Excel files to open up - no luck as of yet! Let me know if you can think of anything else I can do. Thanks, PM "Paulw2k" wrote: "If I remove my xla add-in, this problem goes away" - Check your coding in the add-in file, that is the most likely source of the problem. Paul "PM" wrote in message ... Hi, I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You shouldn't have to convert your code to C/C++ to use an adding.
The usual cause of the problem you describe is on of two things. In Tools =Options=General, Ignore Other applications is checked. It is possible that somehow your XLA is causing this option to be checked. Check it before you load you addin and after and see if it gets checked. The other possible solution is to reregister Excel. With excel closed, go to the windows start menu and select run Excel.Exe /unregserver Then click OK. Now repeat with excel.exe /regserver This causes excel to reregister itself in the registry. However, I am not sure how you addin would affect that, but something else to try. -- Regards, Tom Ogilvy "PM" wrote in message ... Hi, I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom,
I tried both your solutions and am still having the same problem. The "Ignore Other Applications" is always unchecked. I unregistered and reregistered the server - no change. Please let me know if there is anything else I can try. Thanks, PM "Tom Ogilvy" wrote: You shouldn't have to convert your code to C/C++ to use an adding. The usual cause of the problem you describe is on of two things. In Tools =Options=General, Ignore Other applications is checked. It is possible that somehow your XLA is causing this option to be checked. Check it before you load you addin and after and see if it gets checked. The other possible solution is to reregister Excel. With excel closed, go to the windows start menu and select run Excel.Exe /unregserver Then click OK. Now repeat with excel.exe /regserver This causes excel to reregister itself in the registry. However, I am not sure how you addin would affect that, but something else to try. -- Regards, Tom Ogilvy "PM" wrote in message ... Hi, I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Change the code in the add-in so that it's startup code does not run -
comment it out. See if the problem still occurs. If the problem goes away, uncomment sections at a time until the problem is found. -- Rob van Gelder - http://www.vangelder.co.nz/excel "PM" wrote in message ... Thanks Tom, I tried both your solutions and am still having the same problem. The "Ignore Other Applications" is always unchecked. I unregistered and reregistered the server - no change. Please let me know if there is anything else I can try. Thanks, PM "Tom Ogilvy" wrote: You shouldn't have to convert your code to C/C++ to use an adding. The usual cause of the problem you describe is on of two things. In Tools =Options=General, Ignore Other applications is checked. It is possible that somehow your XLA is causing this option to be checked. Check it before you load you addin and after and see if it gets checked. The other possible solution is to reregister Excel. With excel closed, go to the windows start menu and select run Excel.Exe /unregserver Then click OK. Now repeat with excel.exe /regserver This causes excel to reregister itself in the registry. However, I am not sure how you addin would affect that, but something else to try. -- Regards, Tom Ogilvy "PM" wrote in message ... Hi, I have created an xla file (using VB and VBA) which is part of Excel add-in when I open Excel up. But when Excel is shut down and I click on any xls workbook to open it up, my xla add-in prevents it from opening.(Excel opens up and is empty). If I remove my xla add-in, this problem goes away. Is there a way to solve this problem? I was told that the code has to be converted from xla to xll to solve this problem. If so, do I have to convert all my VB and VBA code into C/C++ to convert it to xll. Any suggestions would be highly appreciated. Thank you, PM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I believe that this is a set up issue... | Setting up and Configuration of Excel | |||
issue.... | Excel Discussion (Misc queries) | |||
IIF issue | Excel Worksheet Functions | |||
#VALUE! issue | Excel Worksheet Functions | |||
VBE Issue | Excel Programming |