by negapo » Fri Feb 26, 2016 6:06 pm
Hi alrodopial
You want to close the communication between Excel/VBA and BA or you want to actually close BA (shut the program) from code.
The COM is a library that exposes Subs/Functions etc. from the program, i doubt that Gary exposed the Close routine but even if he didn't it's fairly simple to close a program (or all instances) from VBA. You would loop all the programs that are open looking for the name of BA and then when found you would close it with a shell command. I can show you some examples if that helps.
PS: everything is running on my side now.