Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macros cells.EntireRow.Hidden = True and Range.Sort are stopping
A client has a very large excel workbook with a lot of macros to hide and
show data for different reports. This worked fine in excel 2000 but now they have upgraded to 2003 and it doesnt work any more. I have identified that the two lines that are having the problems are Cells.EntireRow.Hidden = True Range("Something").sort key1:="somekey€¯, order1:=xlAscending... Sometimes it will just stop when it reaches these lines and if you run it again it will work. Other times it doesnt matter how many times you run it, it wont get past either of these lines. There is an error handler around these lines but no error is thrown, it just stops. I have a feeling it might be something funny with the data in the workbook but I have no idea how to check or what could be causing it. Any help will be greatly appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Sort a Range in a Hidden sheet | Excel Programming | |||
Stopping automatic macros | Excel Programming | |||
setting range().hidden=True causes range error 1004 | Excel Programming | |||
Stopping macros running? | Excel Programming | |||
EntireRow.Hidden | Excel Programming |