RowLevels: Optional: Variant: Specifies the number of row levels of an outline to display. If the outline has fewer levels than the number specified, Microsoft Excel displays all the levels. If this argument is 0 (zero) or is omitted, no action is taken on rows. ColumnLevels: Optional: Variant: Specifies the number of … See more Displays the specified number of row and/or column levels of an outline. See more You must specify at least one argument. See more WebFeb 2, 2009 · In the frozen pane at the top, there are buttons that the user can click to show or hide a specific section of the worksheet. Click a button to expand a section, and you can see its detail rows. There are also buttons to expand and collapse all the sections at once. Set up the worksheet
VBA – Select (and work with) Entire Rows & Columns
WebDec 16, 2014 · If you would like, you can also capture both of those long strings using the same IF statement. If Left (.Cells (cell.Row, 1).Value, 19) = "INSERT NEW PRODUCTS" Then _ Rows (cell.Row).Hidden = True It's working for me with a sample data set but let me know if that helps you with the real data. Share Improve this answer Follow WebShowLevels. Displays the specified number of row and/or column levels of an outline. You must specify at least one argument. ShowLevels (RowLevels, ColumnLevels) … how to cancel intelius
Open / Close Grouping through VBA PC Review
WebDec 16, 2013 · ActiveSheet.Outline.ShowLevels RowLevels:=2 'shows up to level 2. and. ActiveSheet.Outline.ShowLevels RowLevels:=1 'shows up to level 1, i.e. hides level 2 . Hope that helps. Cheers Rich . PS. try stepping-through line by line this code: Cells.EntireRow.Ungroup 'clear all grouping WebJun 30, 2008 · ASKER. There are a bunch of grouped areas. I want to see if the sheet as a whole is in the position as if the [2] button at the top left was pressed, expanding all of them. If yes then I would do something like: ActiveSheet.Outline.ShowLe vels RowLevels:=1. If not then: ActiveSheet.Outline.ShowLe vels RowLevels:=2. WebActiveSheet.Outline.ShowLevels RowLevels:=1, ColumnLevels:=1 Set Row Height or Column Width To set the column width use this line of code: Columns ("A:E").ColumnWidth = 30 To set the row height use this line of code: Rows ("1:1").RowHeight = 30 AutoMacro Ultimate VBA Add-in Click for Free Trial! Autofit Row Height / Column Width mhs chronicle