Excommunication is a penal measure which essentially prohibits a Catholic from exercising his faith -- he can physically attend Mass, but that's all -- until he repents, formally, of whatever egregious sin caused the excommunication. The point is primarily to encourage the person to repentance.
Formal excommunication by name (called ferendae sententiae in canon law) is almost unheard-of for persons who aren't theologians and can't be misconstrued as speaking for the Church.
All that having been said, I think we're way overdue for the application of canon 915 (denial of communion to manifest, grave, public sinners) for persons like Pelosi and Biden.
(As Salvation mentioned, Sebelius has already been told not to present herself for communion by her diocesan bishop in Kansas, and the Abp. of Washington has said he'll abide by that as well.)
Thanks for the details on these matters...I was unaware of the distinctions. SFF