VBA sample program for B2985A/87A electrometers to measure high resistance by sweeping the bias from -21 V to +21 V. Operation guide and requirements are included in the Microsoft® Excel file.