Subtract with Another Part (linear extrusion with a part?)

Hi, I'm trying to make a case for some adapters/mouse I have. I've got the parts modeled and in an assembly as shown in this picture:

All I want to do now is "subtract" them straight up (linearly) from the block they're sitting in. Can this be done?

Thank you in advance, first time posting & just started learning Solidworks 1 month ago!

Boston

SolidworksAssemblies