A surgical fastening apparatus comprising a fastener receiving frame including a plurality of spaced openings formed therein a fastener guiding member containing a plurality of spaced surgical fasteners extending therefrom, the surgical fasteners engagable with the plurality of openings to mate with the fastener receiving frame to fasten tissue therebetween, characterized in that the fasteners and openings are configured to allow locking engagement of the fasteners in the openings at two or more depths of the fastener, and in that the depth of the fastener is preselected prior to advancement of the fasteners into the openings.