Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
EXCEL VBA - Run-time Error 1004
run-time error 1004 - Copy method of sheets class failed.
Sheets("All_Reg_Data").Select Dim i_WHY_AM_I_5 As Integer i_WHY_AM_I_5 = 5 Range(Cells(1, i_WHY_AM_I_5), Cells(1, i_TotalNumberOfColumns 1)).Select Selection.Copy Sheets("Reg_Data").Select Cells(1, i_WHY_AM_I_5).Select ActiveSheet.Paste Sheets(Array("Reg_Data", "Reg")).Select Sheets("Reg").Activate Sheets(Array("Reg_Data", "Reg")).Copy I recieved the error on the final line. The table consists of 6 sheets. The Reg_data is a table of Data, the Reg is a graph. Not sure if thi makes a difference. Thanks for your hel -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run-Time error '1004' | Excel Discussion (Misc queries) | |||
Run Time Error '1004' | Excel Worksheet Functions | |||
Run time error 1004, General ODBC error | New Users to Excel | |||
Run-time error '1004' running to excel objects at once | Excel Programming | |||
HELP!! Excel 2000 Copy of worksheet class failed run time Error 1004 | Excel Programming |