您不能像这样创建/传递数组。试试这个(尝试和测试)
Private Sub CommandButton3_Click()
Application.ScreenUpdating = False
Dim p
Dim ActivePrinter
Dim shtsArray(1 To 3) As String
p = Application.ActivePrinter
ActivePrinter = ("Send to OneNote 2010")
shtsArray(1) = "R-Overview"
shtsArray(2) = "R-Savings"
shtsArray(3) = "R-Table"
Sheets(shtsArray).PrintOut , , 1
Application.ScreenUpdating = True
End Sub
另一种方式
Private Sub CommandButton3_Click()
Application.ScreenUpdating = False
Dim p
Dim ActivePrinter
Dim shtsArray
Dim sheetNames As String
p = Application.ActivePrinter
ActivePrinter = ("Send to OneNote 2010")
sheetNames = "R-Overview,R-Savings,R-Table"
shtsArray = Split(sheetNames, ",")
Sheets(shtsArray).PrintOut , , 1
End Sub