
Essentially, you do the same thing, only you select a guide as your second object instead of another shape. So if you want to align objects to a particular guide on your page, just select all the objects as well as the guide, then click the guide one extra time to highlight it (making it the “key” object) and click the appropriate icon in the Alignment panel.