I'd Rather Be Rich (1964)
I'd Rather Be Rich is a 1964 romantic comedy film with musical aspects directed by Jack Smight, produced by Ross Hunter and starring Sandra Dee. The film focuses on a dying man who wishes to meet his granddaughter's fiancé, but he is unavailable, so the woman persuades another man to substitute for him. Then the grandfather recovers.
More at Wikipedia.