[英]Excel Macro Ignoring a step to change column size of A and G
我已經嘗試了所有我能想到的方法來完成這項工作,但我已將其放在宏的多個部分中,但無濟於事...
For Each Current In Worksheets
Columns("A:A").ColumnWidth = 9.29
Columns("G:G").ColumnWidth = 13.75
ActiveSheet.Next.Select
Next
將工作表附加到范圍內,否則將僅使用活動工作表:
For Each Current In Worksheets
Current.Columns("A:A").ColumnWidth = 9.29
Current.Columns("G:G").ColumnWidth = 13.75
Next
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.