D
Dan
Hi,
I have a macro that when user calls it, it will do a
group of the rows that have the same equivalent field.
Though, when I run this macro, the macro finishes by
leaving the worksheet showing all the details. So what I
want to do it is to code in VBA to not show details. I
tried using Rows("[PUT RANGE HERE]").ShowDetail=False,
but it doesn't work. Since the groups are scattered out
through the worksheet, I need to call this Rows("[PUT
RANGE HERE]").ShowDetail=False in a while loop, but only
the first time its called it works and it crashes the
second time. Is there anyway to fix this?
The code I have is:
I have a macro that when user calls it, it will do a
group of the rows that have the same equivalent field.
Though, when I run this macro, the macro finishes by
leaving the worksheet showing all the details. So what I
want to do it is to code in VBA to not show details. I
tried using Rows("[PUT RANGE HERE]").ShowDetail=False,
but it doesn't work. Since the groups are scattered out
through the worksheet, I need to call this Rows("[PUT
RANGE HERE]").ShowDetail=False in a while loop, but only
the first time its called it works and it crashes the
second time. Is there anyway to fix this?
The code I have is: