The daughter of a colleague of mine spent a year writing a sci-fi book but couldn't interest an agent. She was all set to give up on writing but then had an idea for a romance, sat down and wrote it in two months, and sent out some queries. She almost immediately got offers from three agents.
UPDATE: It turned into offers from five agents, and they fought over her. She picked the one whom she thought would be best for her. Lucky kid!