The talk show host and comedian experienced the health problem last week and is now recovering at home.
The 50-year-old star credited her survival to quick Internet research on her painful symptoms and a Bayer aspirin she had seen recommended in ads.
She wrote on Monday in her usual poetical verse form on her blog: "Thank god/saved by a tv commercial/literally."
Rosie said she had a stent inserted after doctors found that her coronary artery was 99 percent blocked. In a statement her representative Cindi Berger told website People.com: "She is now home and resting comfortably. She is very, very lucky."
Rosie added online: "They call this type of heart attack/the Widow Maker/i am lucky to be here." Earlier this month she shared the news that her fiancée Michelle Rounds was diagnosed with desmoid tumors, a very rare affliction.
She said her own health problems began this month after she helped "an enormous woman" struggling to get out of her car in a parking lot in Nyack, New York.
A few hours later, her chest ached, both arms felt sore as if they were bruised, she became nauseous, and had clammy skin.
She wrote: "maybe this is a heart attack. i googled womens heart attack symptoms/i had many of them/but really? - i thought - naaaa."
She said that hundreds of thousands of women die each year of heart attacks and that many never dial the emergency number.
Rosie continued: "By some miracle i was not one of them. Know the symptoms ladies/listen to the voice inside/the one we all so easily ignore/CALL 911/save urself."