乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > EXCEL <em>VBA</em>显示隐藏列-excel隐藏列 vba,excel的vba怎么

EXCEL <em>VBA</em>显示隐藏列-excel隐藏列 vba,excel的vba怎么

作者:乔山办公网日期:

返回目录:excel表格制作


Private Sub CommandButton1_Click()
For i = 2 To 26
If Cells(5, i) = "" Then Cells(1, i).EntireColumn.Hidden = True
Next
End Sub




Sub text()
Dim t%, i%
t = [a2:as2].Columns.Count
For i = 1 To t
 If Cells(2, i) > 5 Then
 Cells(1, i).EntireColumn.Hidden = True
 End If
Next
End Sub

相关阅读

关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网