To measure a sliding window for replacement, measure the width and height of the entire frame in multiple places, using the smallest measurements. Also measure the depth of the frame and note the configuration (e.g., which panels slide) to ensure an accurate replacement.