Wall’s have two faces, so you need to be specific. Anyway with this you can select all faces in active view or the whole project. If you need to select only specific faces and not all, then you can filter them before extracting faces. If you want to get only walls that surround specific rooms, then you can look here for example or search the forum.