The men and women must alternate in position. Imagine there are 4 red seats and 4 blue ones in alternating positions.
If the men sit in the red seats there are 4! = 24 ways of arranging them. For each of these there are 4! ways of seating the women in the blue chairs, so there are 24^2 = 576 ways of doing this.
There are the same number of ways if the men sit in the blue seats and the women are in the red seats, so there are 2*576 = 1152 ways in total.
The above assumes that a rotation of a given arrangement is different from the arrangement of which it is a rotation.