Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in copying range
Got an error with the following
Worksheets("mod").Range("c1:g1").copy _ Destination:=Worksheets("mix").Cells(1, 9) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in copying range
If the error is subscript out of range, then either you don't have a sheet
named mod or you don't have a sheet named mix or you have neither. Assumes neither sheet is protected. -- Regards, Tom Ogilvy "crapit" wrote in message ... Got an error with the following Worksheets("mod").Range("c1:g1").copy _ Destination:=Worksheets("mix").Cells(1, 9) |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in copying range
also: OP is not using qualified references, thus be aware that the code (attempts) to work with the active workbook. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Tom Ogilvy wrote : If the error is subscript out of range, then either you don't have a sheet named mod or you don't have a sheet named mix or you have neither. Assumes neither sheet is protected. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in copying range
So can i say that the code is correct?
"keepITcool" wrote in message ft.com... also: OP is not using qualified references, thus be aware that the code (attempts) to work with the active workbook. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Tom Ogilvy wrote : If the error is subscript out of range, then either you don't have a sheet named mod or you don't have a sheet named mix or you have neither. Assumes neither sheet is protected. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying a Range | Excel Discussion (Misc queries) | |||
Need VBA Help in Copying Range | Excel Programming | |||
Searching a range and copying values into a new range.... **Please help** :( | Excel Programming | |||
Copying Range | Excel Programming | |||
Copying a range to the row below | Excel Programming |