Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
i have 3 workbooks: program.xls cost price phase one.xls po payment.xls i sheet1 of program i have a command button and i want when user clic it some code execute. but i get "subsript out of range error" and i can't undrestand why! here is the line og code that vba stop on it during the execution: Workbooks("cost price phase one").Worksheets(1).Cells(1, 2).Cop Destination:=Workbooks("program").Sheets("sheet2") .Cells(1, 1) any idea? regards Reza Behnoo -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error Message "Subscript our of range" | Excel Discussion (Misc queries) | |||
Array as a "named range" - formula ok in cells, but error as "named range" | Excel Discussion (Misc queries) | |||
"Subscript of range" error | Excel Programming | |||
SaveAs "subscript out of range" error (COM - SOAP) | Excel Programming | |||
SaveAs "subscript out of range" error (COM - SOAP) | Excel Programming |