I'm not sure if this is possible, but here goes anyway.
I have an Excel Spreadsheet that has data grouped, I need to be able to detect the group status, ie expanded or supressed, does anyone out there know how to pick up this in VBA. Cheers Ozzie
loop through rows and determine if group is expanded or not
Dim rownumber
For rownumber = 1 to 100 ' or whatever
If Rows(rownumber).Showdetail = True then
'insert code here for if detail is expanded
Else
'insert code here for if detail is not expanded
end if
Next
Dan
"It's more like it is now, than it ever has been."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.