Set xlA = New Excel.Application
Set xlA = CreateObject("Excel.Application")
Set xlB = xlA.Workbooks.Add
Set xlS = xlB.Worksheets(1)
xlA.Visible = True
Activesheet.Range("A2:F20").SpecialCells(xlCellTypeVisible).Copy xlS.[a1]
这个语句报错“类RANGE的COPY方法无效”,麻烦各位高手看一下。多谢。