Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro and I get the next error: "run-time error 1004 select method
of sheets class failed" I'm trying to do un array of sheets and then select copy and cut some row’s here is part of my code: z = Sheets("NovaUSA").Index 'to get the index for the first row to start y = Sheets("Beans (P)").Index ReDim SheetsGroup(z To y) For i = z To y SheetsGroup(i) = Sheets(i).Name Next i Sheets(SheetsGroup).Select ' here its where I get the error Columns("AG:AK").Select Range("AG6").Activate Application.CutCopyMode = False Selection.Delete Shift:=xlToLeft Could somebody help me |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
select method of range class failing ? | Excel Programming | |||
Sheets select method fails when workbook is opened by another workbook | Excel Programming | |||
Select method of Range fails | Excel Programming | |||
why is select method invalid when sharing | Excel Programming | |||
Help with Select Case or Best Method | Excel Programming |