A family of Microsoft relational database management systems designed for ease of use.
Macros and VBA code are all embedded within the mdb file itself, so there should be no issue. You should be able to simply copy/paste the file to a new PC and run it. If this doesn't work, please post details about what occurs, specific error messages, ... so we can better understand the issue at hand.
That said, mdb files are 20 years deprecated and there are major compatibility issues with modern versions of Access. You may first need to use an intermediary version of Access (say Access 2010 or 2013) to upgrade the file format from mdb to accdb before being able to use it on more recent versions of Access like MS365.