Never Weaken
Our hero is infatuated with a girl in the next office. In order to drum up business for her boss, an osteopath, he gets an actor friend to pretend injuries that the doctor "cures", thereby building a reputation. When he hears that his girl is marrying another, he decides to commit suicide and spends the bulk of the film in thrilling, failed attempts.
Starring Harold Lloyd, Mildred Davis, Roy Brooks, Mark Jones, Charles Stevenson, William Gillespie, Helen Gilmore
Watch "Never Weaken" on Criterion Channel released in 1921. It's a comedy and thriller movie, and has a rating of 7.5 out of 10 from Imdb which is usually fine for this kind of movie.