我添加了一个nuget包Do Until ((xWMax > 600 And xWMax <= 680) Or xH > 600) And Sheets("Temp").HPageBreaks.Count = 0
If Sheets("Temp").HPageBreaks.Count > 0 Then
....
End If
https://www.nuget.org/packages/StyleCopPlus.MSBuild/4.7.49.5
StyleCopPlus.MSBuild
附带的
但我收到警告Settings.StyleCop
,但找不到禁用它的规则。