making a coupon border

Does anyone know a good way to make coupon borders in Corel? If you've ever done this using the dashed line setting, you know the corners never come out right. There is a macro out there that sells for $10 but I think that's plain idiocy. 15 versions in, Corel has to have figured this out! The only way I've found to do it is to manually create white rectangles spaced out along a solid line. Not only is this time consuming, it's worse if you have many different coupon sizes.