HasBorderHorizontal 屬性 (Excel Graph)HasBorderHorizontal property (Excel Graph)

如果圖表的運算列表具有水平儲存格框線,則為 TrueTrue if the chart data table has horizontal cell borders. 可讀寫的 BooleanRead/write Boolean.

語法Syntax

運算式HasBorderHorizontalexpression.HasBorderHorizontal

需要 expressionexpression Required. 可傳回 [套用至]**** 清單內其中一個物件的運算式。An expression that returns one of the objects in the Applies To list.

範例Example

本範例會使圖表運算列表顯示時有外框線,但沒有儲存格框線。This example causes the chart data table to be displayed with an outline border and no cell borders.

With myChart 
 .HasDataTable = True 
 With .DataTable 
 .HasBorderHorizontal = False 
 .HasBorderVertical = False 
 .HasBorderOutline = True 
 End With 
End With

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.