1. Press Alt+F11 to open the VBA Editor.
2. Double click a Module Sheet, press F4 to open the Properties dialog box.
3. In the Scroll Area text box, type the scroll area range, or type the defined Name for the range.

To cancel the Scroll Area restricted range, clear the Scroll Area text box.