Sub test()
Dim r&, i&
Dim arr, brr
Dim wba As Workbook
Dim wsa As Worksheet
Set wba = ThisWorkbook
Set wsa = wba.Worksheets(1)
'wsa.Range("b1:GY21").Clear
wsa.Range("A2:GY21").Clear
Dim namenum As Integer
namenum =2 '从第二行开始
Dim wb As Workbook
Dim ws As Worksheet
Dim mypath$, myname$
Dim csvcount
Dim sumproduct
Dim unull
Dim zhushicishu
Application.ScreenUpdating =False
Application.DisplayAlerts =False
mypath = ThisWorkbook.Path & "\原始数据存放\"
myname = Dir(mypath &"*.*")
Randomize Timer
csvcount =0
Application.DisplayAlerts =False
Application.ScreenUpdating =False
j =65
Do While myname <>""
Set wb = GetObject(mypath & myname)
Windows(wb.Name).Visible =True
sumproduct =0
With wb
With .Worksheets(1)
wsa.Cells(namenum,1)= myname
For i =1 To 200
If wb.Worksheets(1).Cells(1, i)<>"" Then
If (i +64)<=90 Then
wsa.Cells(1, i +1)= Chr(i +64)
Else
wsa.Cells(1, i +1)= Chr(65)& Chr(j)
j = j +1
End If
wsa.Cells(namenum, i +1)= Trim(wb.Worksheets(1).Cells(1, i))
Else
Exit For
End If
Next i
namenum = namenum +1
End With
.Close True
End With
myname = Dir
Loop
Application.DisplayAlerts =True
Application.ScreenUpdating =True
MsgBox "数据写入完毕!"
End Sub
1、报错 failed to transfer from http://0.0.0.0/ during a previous attempt.
com.byd.xxx:xxx-parent:pom:1.1.0-SNAPSHOT failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution is no…
VLAN(Virtual Local Area Network),即虚拟局域网,是一种网络技术,它的主要原理是将物理网络划分为多个逻辑子网,每个子网形成一个独立的广播域。这样,VLAN内的主机间通信就像在同一个局域网内一…
第一,我们需要下载python并安装
下载地址:https://www.python.org/downloads/release/python-3123/ 3.x版本的python自带pip工具,因此不需要额外下载。
ModuleNotFoundError: No module named seleniumpip用于下载python适用的各类模块&…