It's very simple, it's a simple resistive attenuator (also known as a potential divider). Assuming you require 1V to the opamp, then for a 200V range the ratio between the bottom and top resistor is 1/199 (so it drops 199V across the top resistor, leaving 1V to the opamp. For 100V the ratio would be 1/99 and for 20V 1/19.9 - it's that easy!.
The input of a digital meter is normally 10Mohms, so the total resistor chain should add up to that - so to give you a start, the bottom resistor should be 10,000,000/200 = 50,000, and the chain above it should total 9,950,000 ohms.