早教吧作业答案频道 -->其他-->
Vba的问题Subbb()DimcAsRangeDimdAsRangeDimfAsRangeDimgAsRangeFori=1To30b=i*14-11a=Sheet1.Cells(b,1).ValueWithSheet3.CellsSetc=.Find(a)IfNotcIsNothingThend=c.Resize(12,12)d.Copyf=Sheet5.Cells(b,1
题目详情
Vba的问题
Sub bb()
Dim c As Range
Dim d As Range
Dim f As Range
Dim g As Range
For i = 1 To 30
b = i * 14 - 11
a = Sheet1.Cells(b, 1).Value
With Sheet3.Cells
Set c = .Find(a)
If Not c Is Nothing Then
d = c.Resize(12, 12)
d.Copy
f = Sheet5.Cells(b, 1)
g = f.Resize(12, 12)
g.PasteSpecial
End If
End With
Next
End Sub
请帮忙看看那里有问题
Sub bb()
Dim c As Range
Dim d As Range
Dim f As Range
Dim g As Range
For i = 1 To 30
b = i * 14 - 11
a = Sheet1.Cells(b, 1).Value
With Sheet3.Cells
Set c = .Find(a)
If Not c Is Nothing Then
d = c.Resize(12, 12)
d.Copy
f = Sheet5.Cells(b, 1)
g = f.Resize(12, 12)
g.PasteSpecial
End If
End With
Next
End Sub
请帮忙看看那里有问题
▼优质解答
答案和解析
没有set range
看了Vba的问题Subbb()Di...的网友还看了以下:
在一定温度下,化学平衡常数K=(C)c(D)d / (A)a(B)b.给定AB的浓度 达到平衡 就 2020-04-06 …
提示:D-C=0A-B,A-D,D-C,D-E,E-F=1A-D,C-F=2A-B,D-E,E-F 2020-04-06 …
24 (a+b)/(c+d)=(√a^2+b^2)/√ (c^2+d^2)成立证明:(1)a/b= 2020-05-14 …
现有A,B,C,D四种物质,已知A,B为黑色粉末,C,D为无色气体,A,B在高温下作用能生成D,A 2020-05-17 …
#includemain(){inta=0x7fffffff,b=025;floatf1=123. 2020-05-19 …
80211b的哪些信道不重叠?(选择所有正确答案)A、1B、3C、6D、11A.B.C.D. 2020-05-26 …
高等代数同余式约化证明过程a,b,c,d∈Z,若a≡b(modm),且d|a(d整除a),d|b, 2020-07-21 …
用Matlab求解方程组?如何用数值法啊?,a,b,c,d是未知量s1=(a/((4*pi*b*c 2020-07-23 …
A,B,C,D四个数的和为59,问A^2+B^2+C^2+D^2,A^3+B^3+C^3+D^3, 2020-07-28 …
多元一次方程求解a=0.1072(a+b+c+d+e)b=0.041(a+b+c+d+e)c=0.2 2020-12-14 …