is there vba code to simulate the action of moving the mouse cursor and left click/right click of the mouse?

thanks a lot