Use the Data Selector tool to drag end markers to your region of interest then press Enter. Now when you integrate Analysis : Mathematics : Integrate in Origin 8 Analysis : Calculus : Integrate in older version the integration occurs only over the defined range.