VBA怎么比较3个单元格数值的大小.如果,最大返回2,最小返回0,中间返回1...答:Sub test()a = Application.WorksheetFunction.Max(Sheets(1).Cells(9, 2), Sheets(1).Cells(9, 3), Sheets(1).Cells(9, 4))b = Application.WorksheetFunction.Min(Sheets(1).Cells(9, 2), Sheets(1).Cells(9, 3), Sheets(1).Cells(9, 4))If Sheets(1).Cells(9, 2) = a ...