【VBA】自動填充序號

使用Excle自帶的工具欄圖標填充 填充效果圖如下: 代碼如下: Sub 自動填充序號() Dim A As CommandBar '代表容器應用程序中的一個命令欄 Dim B As CommandBarControl '代表一個命令欄控件 Dim i As Long Cells.Clear '清除所有單元格 For Each myshape In Work
相關文章
相關標籤/搜索