![]() |
Help in copying range
Got an error with the following
Worksheets("mod").Range("c1:g1").copy _ Destination:=Worksheets("mix").Cells(1, 9) |
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) |
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. |
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. |
All times are GMT +1. The time now is 12:26 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com