0
0

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 3 years have passed since last update.

VBA エクセル トップ10にフィルターをかけて別シートにコピー

Posted at

1.jpg
2.jpg
3.jpg

Sub トップテンを抽出()
    Range("A1").AutoFilter _
    field:=9, Operator:=xlTop10Items
End Sub

Sub データをトップ10シートにコピーする()
    Range("A1").CurrentRegion.Copy
    Sheets("トップ10").Range("A3"). _
    PasteSpecial Paste:=xlPasteAllUsingSourceTheme
    Application.CutCopyMode = False
    Sheets("トップ10").Activate
    Range("A1").Select
End Sub
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?