0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Excel複数シートを指定した倍率設定

Posted at

Excel複数シートを指定した倍率設定、かつ、A1セルにカーソルを移動する

Sub formatDisplay100AndGotoA1()
    Dim s As Object
    For Each s In ActiveWorkbook.Sheets
        s.Activate
        ActiveSheet.Range("A1").Select
        ActiveWindow.Zoom = 100
    Next s
 Sheets(1).Select
 MsgBox (Sheets.Count & " Sheets" & vbCrLf & " done")
End Sub
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?