Is there a way to select a part from within the assembly rather than browsing for a file when using the replace component command?
Using SolidWorks Pro 2018 SP 5.0
Closest you can come would be to open the desired component in its own window (easy to do from right-click menu) prior to activating the Replace function. That way it will show up in the "With this one" box.
As Josh said, if you don't want to Browse to find the model you'll need to have it open, and then it will show in the box. Keep in mind that even if you only have one file showing in that box, it won't be automatically selected (the "Replace these component(s):" box will still be highlighted). You'll need to select it to proceed.
Retrieving data ...