I know the problem, as I've done a similar job here in freelancer some months ago. After trying everything possible through VBA (nothing worked as the Bloomberg terminal seems to recognize the code added), I founded a different solution, not a good solution, not a fine solution, but it worked!!!
Maybe it will work also for you. I need to know more about your project. Bye, Alberto.