How To: Is a Row a Group Row

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top