The invention relates to a shading device for an architectural opening comprising a shade, a drive unit for extending and retracting the shade between a first and second end position, a spindle, a first end stop, stationary connected to the spindle near a first end of the spindle and at least one travelling nut, movably arranged on the spindle and operatively connected to the drive unit so as to move towards, respectively away from the first end stop as the shade is extended, respectively retracted. The travelling nut is articulated in circumferential direction into segments, with at least two segments being detachably connectable to each other at one of their ends.