It may be best to use a KVM switch, rather than plug the monitor to two PCs. Some models of LCD monitors from NEC, ViewSonic and Samsung have Digital/Analog Dual Input as one of the features they advertise. Those monitors have been designed to be connected to both VGA and digital (DVI) cable input simultaneously - even though the monitor would only display the picture from one of them.
The fact sheet for your Acer monitor does not mention the dual input feature.
If you want to try it anyway, and one of the computers can take a DVI digital cable and the other a VGA analog cable, fine.
If both computers support just the analog VGA cable, assuming that the digital input of the monitor accepts analog signal (which may not be the case, that is why you need to test it) you can use the analog HD15 (15-pin) cable that came with your monitor to connect one PC, and the digital DVI cable with a DVI Male to a HD15 pin Female adapter plugged in to the second, digital port of the monitor: http://tinyurl.com/2akm2o
The adapter only costs $5 and you can try it before buying the KVM switch.
Before you buy a DVI KVM switch for digital DVI cables, you need to check if the graphics cards in both PCs support digital signal output and the DVI cable. If not, you can use the conventional analog VGA cables and the cheaper VGA KVM switch.