Using the Pattern Maker
Use the rectangular marquee to select area
When the Pattern Maker Dialogue Box appears, Select Generate
Make sure you rename>save as so you do not overwrite your original image!