ListObject.ShowTotals property (Excel)
Gets or sets a Boolean to indicate whether the Total row is visible. Read/write Boolean.
Syntax
expression.ShowTotals
expression A variable that represents a ListObject object.
Example
The following code sample displays the current setting of the ShowTotals property of the default list on Sheet1 of the active workbook.
Sub test()
Dim oListObj As ListObject
Set wrksht = ActiveWorkbook.Worksheets("Sheet1")
Set oListObj = wrksht.ListObjects(1)
Debug.Print oListObj.ShowTotals
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per