データの高速処理(EXCEL VBA

・スマホ向けフリック入力タイピングはこちら
※アプリのインストールが必要です。
・PC向けタイピングはこちら
タブレット+BlueToothキーボードのプレイもこちらがオススメです!
Webアプリでプレイ
投稿者投稿者どらねこいいね4お気に入り登録1
プレイ回数5621難易度(3.9) 1327打 長文 英字

関連タイピング

問題文

ふりがな非表示 ふりがな表示
(option explicit) Option Explicit (option base 1) Option Base 1 (application.screenupdating=false) Application.ScreenUpdating=False (application.displayalerts=false) Application.DisplayAlerts=False (dim myf as string) Dim MyF As String (myf=application.getopenfilename( , ,)) MyF=Application.GetOpenFileName(,,) (if myf=false then) If MyF=False Then (exit sub  end if) Exit Sub End If (dim myfso as new filesystemobject) Dim MyFSO As New FileSystemObject (dim myfile as file) Dim MyFile As File
(set myfile=myfso.getfile(myf)) Set MyFile=MyFSO.GetFile(MyF) (myfile.name=myfso.getbasename(myf) &) MyFile.Name=MyFSO.GetBaseName(MyF) & (workbooks.opentext, _) Workbooks.OpenText, _ (filename:=myfile.name, _ startrow:=1, _) Filename:=MyFile.name, _ StartRow:=1 (datatype:=xldelimited,comma:=true, _) DataType:=xlDelimited,comma:=True, _ (fieldinfo:=array(array(1, ), )) fieldinfo:=Array(Array(1, ), ) (worksheets.add after:=) Worksheets.Add after:= (activesheet.name=” ”) ActiveSheet.Name=" " (cells(,).currentregion.copy, _) Cells(,).CurrentRegion.Copy, _ (destination:=cells(,)) Destination:=Cells(,)
など
(cells(1,1).currentregion.sort, _) Cells(1,1).CurrentRegion.Sort, _ (key1:=cells(,), _ order1:=xlascending, _) key1:=Cells(,),_ order1:=xlAscending (key2:=cells(,),_ order2:=xlascending, _) key2:=Cells(,),_ order2:=xlAscending (header:=xlyes) Header:=xlYes (dim myarray1 as variant) Dim MyArray1 As Variant (dim myarray2() as variant) Dim MyArray2() As Variant (dim myarray3() as variant) Dim MyArray3() As Variant (myarray1=cells(,).currentregion.value) MyArray1=cells(,).CurrentRegion.Valu (dim i as long  dim j as long) Dim i As Long Dim j As long (dim ix as long:ix=0) Dim ix As long:ix=0 (for i=1 to ubound(myarray1,1)) For i=1 to Ubound(MyArray1,1) (if myarray1(i, )    then  ix=ix+1) If MyArray1(i, ) then ix=ix+1 (redim preserve myarray2( ,ix)) Redim Preserve MyArray2( ,ix) (myarray2(1,ix)=myarray1(i, )) MyArray2(1,ix)=MyArray1(i, ) (myarray2(2,ix)=myarray1(i, )) MyArray2(2,ix)=MyArray1(i, ) (end if  next i) End if  Next i (redim myarray3(ubound(myarray2,2), _) ReDim MyArray3(Ubound(MyArray2,2), _ (ubound(myarray2,1))) UBound(MyArray2,1)) (for i=1 to ubound(myarray2,2)) For i=1 to UBound(MyArray2,2) (for j=1 to ubound(myarray2,1)) For j=1 to UBound(MyArray2,1) (myarray3(i,j)=myarray2(j,i)) MyArray3(i,j)=MyArray2(j,i) (next j  next i) Next j  Next i (range(cells(1,1), _) Range(cells(1,1), _ (cells(ubound(myarray3,1),ubound(myarray3,2)). _) Cells(UBound(MyArray3,1),UBound(MyAr (value=myarray3) Value=MyArray3 (workbooks(myfile.name).close, _) Workbooks(MyFile.Name).Close, _ (savechanges:=false) savechanges:=False (myfile.name=myfso.getbasename(myf) &) MyFile.Name=MyFSO.GetBaseName(MyF) & (application.screenupdating=true) Application.ScreenUpdating=True (application.displayalerts=true) Application.DisplayAlerts=True
問題文を全て表示 一部のみ表示 誤字・脱字等の報告