Women could not wear pants to formal places.
 Women could not wear to formal places.
 They could not wear them to work, even if they were employed by a bank or a school.
 Women wouldn't even wear pants when they dressed up.
Note, in some dialects of English the noun pants refers to underwear; So you may want to consider your audience and use the term trousers ... or not. It's your choice.