Thank you! if the supply is more than 24V (32 V to be exact) will the motor be damaged??
In general, the important thing for a stepper motor is not to exceed the permiited current. The motor driver can be adjusted to deal with that. The data sheet for your motor seems to specify a max of 24v but it does not explain why. Usually the coil winding insulation can deal with 100v or more.
If it was my motor I would probably chance the higher voltage - but don't blame me if the smoke escapes.
IIRC the DRV8825 can work with 35v or 40v so 32v should not be a problem unless there are voltage spikes that go higher than the DRV8825 is designed for.