ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How To: Is a Row a Group Row (https://www.excelbanter.com/excel-programming/299641-how-row-group-row.html)

Kevin McCartney[_2_]

How To: Is a Row a Group Row
 
Hi
What I need to do is to see if a Row is all ready a Group Row in that is there a little plus sign all ready assigned to the row in that it is all ready grouped/outlined. How do I get this as a True or False value within VBA

TI
KM

Kevin McCartney[_2_]

How To: Is a Row a Group Row
 
The answer is if anyone is intereste

Range.Rows.Summary where Range is the range I want to look at

cia
K

----- Kevin McCartney wrote: ----

Hi
What I need to do is to see if a Row is all ready a Group Row in that is there a little plus sign all ready assigned to the row in that it is all ready grouped/outlined. How do I get this as a True or False value within VBA


TI
KM

arno

How To: Is a Row a Group Row
 
Hi Kevin,
What I need to do is to see if a Row is all ready a Group Row in that is

there a little plus sign all ready assigned to the row in that it is all
ready grouped/outlined. How do I get this as a True or False value within
VBA?

Try this:

Sub test()
Cells(1, 1).Value = ActiveCell.Rows.OutlineLevel
End Sub

arno




All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com