With GetObject(mypath)
Workbooks(mysheet).Activate
If oTypeColumn = 1 Then
arr = oDataTransArrRY2(oSheet, oCellLocation, oColumn)
ElseIf oTypeColumn = 2 Then
arr = oDataTransArrRYH1(oSheet, oCellLocation, oColumn)
ElseIf oTypeColumn = 3 Then
arr = oDataTransArrRYS1(oSheet, oCellLocation, oColumn)
End If
.Close False
End With
GetObject函数
猜你喜欢
转载自www.cnblogs.com/lidapengwww/p/12641006.html
今日推荐
周排行