早教吧作业答案频道 -->其他-->
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...的网友还看了以下:
Fori=1To.Cells. 2020-05-13 …
英语翻译British doctors have helped to perform the wo 2020-05-16 …
英语句子解析,分析下句子,各种语法,和句子意思This raises the question o 2020-05-17 …
If all cells in your body have the same DNA,how c 2020-05-17 …
英语翻译Abstract—Amaximumpowerpointtracker(MPPT)forph 2020-05-17 …
如何把换成<SCRIPTlanguage=javascript>functionsecBoard( 2020-06-13 …
VBA中cells(1,1)的值为A,我想让cells(1,2)的值为B,要有俩者之间的关系存在, 2020-06-20 …
英语翻译Sub换颜色()Fori=1To100Cells(i,1).SelectForx=1ToL 2020-07-27 …
Vba的问题Subbb()DimcAsRangeDimdAsRangeDimfAsRangeDimg 2020-11-01 …
VBA问题,对worksheet行列取值的问题.对worksheet行列取值的理解已知变量ws代表某 2020-12-14 …