如何使用Excelmacros指定范围而不是UsedRange选项来清除单元格填充的颜色

我需要以下问题的帮助:
如何通过在Excel VBA中指定范围或无限范围而不是使用UsedRange来清除填充颜色来清除单元格填充的颜色?

 Worksheets("Sheet2").UsedRange.Cells.Interior.Color = -4142 

要清除填充颜色,请不要重置颜色代码; 将.Interior.Pattern更改为xlNone。

 with Worksheets("Sheet2") with .cells(1, 1).currentregion with .resize(.rows.count -1, .columns.count).offset(1, 0) .Cells.Interior.Pattern = xlNone end with end with end with