Ben Hecht is credited with writing the screenplay in two weeks on a train. He adapted the story "Letter to the Editor" by James H. Street which had been first been published in "Hearst's International-Cosmopolitan". Hecht wrote a role for his friend John Barrymore in the film, but David Selznick refused to use him as Barrymore had become by then an incurable alcoholic. This caused a rift between Hecht and Selznick, and Hecht walked off the picture. Budd Schulberg and Dorothy Parker were called in to write the final scenes and several others also made contributions to the screenplay, including: David O. Selznick, William Wellman, Sidney Howard, Moss Hart, George S. Kaufman and Robert Carson.