Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It is an application or object defined error. The first line works but the
second one gives the error in my sort macro. I'm trying to use the count to left for the columns because the users keep adding columns. Do I have a missing parenthesis? It seems like both lines are the same. Thanks, Set Rng = .Range(.Cells(2, 1), _ ..Cells(Rows.Count, .Cells(1, Columns.Count).End(xlToLeft)).End(xlUp)) 'Set Rng = .Range(.Cells(2, 1), .Cells(Rows.Count, 26).End(xlUp)) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime Error 1004 | Excel Discussion (Misc queries) | |||
Runtime error 1004 | Excel Programming | |||
Runtime error 1004 | Excel Programming | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
Runtime error 1004 | Excel Programming |