The only way that the Ebola virus could be transmitted by coughing or sneezing is by the mucus. A person with Ebola and that coughs or sneezes can infect another person if his/her mucus comes into contact with the eyes, the nose, the mouth, or a wounded skin of another person.
But Ebola is not spread through the air like other viruses such as measles, chickenpox or flu. The Ebola virus can be transmitted only by direct contact between body fluids (blood, saliva, mucus, sweat, tears, vomit, feces, breast milk, urine and semen) of an infected person who has symptoms. Coughing and sneezing are not common symptoms of Ebola.