I am in nearly this exact situation:
We are trying to install a fan, but instead of having a single duplex outlet on the same wall as the switch, we have 2 different duplex outlets on opposite sides of the room behind plaster walls.
This is the first time I've ever worked with a switch loop, and honestly, my brain is failing me. Can I replace the 14/2 romex between the closest outlet and the switch with 14/3, which should give me all of the conductors necessary to hook up the fan switch and fan? Or do I need to replace the wire between the two duplex outlets as well (as I said, the switch controls both of them)?
The first is probably something I can do with a spare saturday, a fish tape, and a 25' piece of 14/3. The second would require tearing down plaster through a good part of my wife's studio and more patching than I think we're really able to do right now.
Any help would be very much appreciated. Now I'm aware that several rooms in our house seem to be wired this way, and I'm thinking I have a mess on my hands. Especially because it doesn't look like any of the white wires have been marked as hot.
Edit due to confusion:
This diagram shows approximately how the wiring looks. The major differences would be, instead of having a lamp, there are 2 outlets. Both outlets are switched. Switch goes on, both outlets get power. Switch goes off, both outlets lose power.
What I believe I need to do is rewire the outlets and switch so they match this diagram which follows modern code:
What I need to know is if I have to include both of the outlets if I replace the 14-2 wire with 14-3? Can you install 14-3 half way through the switch loop?