pub fn range_ref_to_coordinates(ref_str: &str) -> Result<Vec<i32>, String>
Converts a range reference such as "A1:B2" to [x1, y1, x2, y2].
"A1:B2"
[x1, y1, x2, y2]