How to compare macro code between two workbooks by macro

Can Basic macro code of two workbooks be compared by the use of a Basic macro?