How hard is it to tansfer majors as an undergraduate student in scool

For example schools like UIUC, UW-Madison, GIT. How hard is it to transfer from chemistry to engineering?