Glad that worked, Robert. On the surface your approach looks fine. It is the contract object you receive with your object that you'd use for the order. There is a little more detail at
Couple of thoughts:
- What error message do you get when the order placement fails?
- Did you get exactly one object from your request and is it the one you are trying to order? reqContractDetails returns a list of results and depending on what you ask for, you can get 0, 1, or several (even many) .
- I am not familiar with the Excel/VBA details. But in your earlier post it looked like you used "With objTWSControl.m_contractInfo" to specify the contract information. Is it possible that you have to set objTWSControl.m_contractInfo to the contract object you received in
I guess you have to do a little more digging.
闯ü谤驳别苍