Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Peter Great job. Solved my problem and taught me something.
You folks are always terrific, on point and responsive. A great resource! Many Thanks Kevin C "Peter T" <peter_t@discussions wrote in message ... typo - Set srcRange = xlBook1.Worksheets(strSheet1).Range(Cells(2, 2), Cells(lngBottom, 6)) You need to qualify .Cells With xlBook1.Worksheets(strSheet1) .Range(.Cells(2, 2), .Cells(lngBottom, 6)) End with With xlBook1.Worksheets(strSheet1) Set srcRange = .Range(.Cells(2, 2), .Cells(lngBottom, 6)) End with Peter T <snip |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error Message - Input Range must be a contiguous Reference Help!!! | Excel Discussion (Misc queries) | |||
Named range as chart data reference (error) | Charts and Charting in Excel | |||
Conflict with valid range reference error | Excel Discussion (Misc queries) | |||
error using a reference in a range | Excel Programming | |||
Reference range in formula problem | Excel Programming |