Use For Each...Loop, but Skip Header Row in Non-Contiguous Range
I modified your code a little. I'm not sure this would work as you think. Public Sub FilterData() Dim Hierarchy As Range, D_hierarchy As RangeDim Level As LongDim FilteredLevel As RangeDim Person As...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
Given your posted example - I have no idea. Run this version:Sub TestMacro() Dim Hierarchy As Range Dim Level As Integer Dim FilteredLevel As Range Cells.Clear Cells.UnMerge Set...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
BernieThanks for the reply, but I don't think it is working properly. Take this example table into consideration.Your code works until the last line where filters for xlCellTypeConstants. I wrote a...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
TryWith Hierarchy.Columns(Level).Cells Set FilteredLevel = .Offset(1, 0).Resize(.Rows.Count - 1, 1).SpecialCells(xlCellTypeVisible) Set FilteredLevel = FilteredLevel.SpecialCells(xlCellTypeConstants)...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
This is kind of a two part question.I'd like to resize my non-contiguous range to exclude the header, but Excel won't allow me to use the Resize method. I get a non-contiguous range because I am using...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
I modified your code a little. I'm not sure this would work as you think. Public Sub FilterData() Dim Hierarchy As Range, D_hierarchy As RangeDim Level As LongDim FilteredLevel As RangeDim Person As...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
Given your posted example - I have no idea. Run this version:Sub TestMacro() Dim Hierarchy As Range Dim Level As Integer Dim FilteredLevel As Range Cells.Clear Cells.UnMerge Set...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
BernieThanks for the reply, but I don't think it is working properly. Take this example table into consideration.Your code works until the last line where filters for xlCellTypeConstants. I wrote a...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
TryWith Hierarchy.Columns(Level).Cells Set FilteredLevel = .Offset(1, 0).Resize(.Rows.Count - 1, 1).SpecialCells(xlCellTypeVisible) Set FilteredLevel = FilteredLevel.SpecialCells(xlCellTypeConstants)...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
This is kind of a two part question.I'd like to resize my non-contiguous range to exclude the header, but Excel won't allow me to use the Resize method. I get a non-contiguous range because I am using...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
I modified your code a little. I'm not sure this would work as you think. Public Sub FilterData() Dim Hierarchy As Range, D_hierarchy As RangeDim Level As LongDim FilteredLevel As RangeDim Person As...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
Given your posted example - I have no idea. Run this version:Sub TestMacro() Dim Hierarchy As Range Dim Level As Integer Dim FilteredLevel As Range Cells.Clear Cells.UnMerge Set...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
BernieThanks for the reply, but I don't think it is working properly. Take this example table into consideration.Your code works until the last line where filters for xlCellTypeConstants. I wrote a...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
TryWith Hierarchy.Columns(Level).Cells Set FilteredLevel = .Offset(1, 0).Resize(.Rows.Count - 1, 1).SpecialCells(xlCellTypeVisible) Set FilteredLevel = FilteredLevel.SpecialCells(xlCellTypeConstants)...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
This is kind of a two part question.I'd like to resize my non-contiguous range to exclude the header, but Excel won't allow me to use the Resize method. I get a non-contiguous range because I am using...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
I modified your code a little. I'm not sure this would work as you think. Public Sub FilterData() Dim Hierarchy As Range, D_hierarchy As RangeDim Level As LongDim FilteredLevel As RangeDim Person As...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
Given your posted example - I have no idea. Run this version:Sub TestMacro() Dim Hierarchy As Range Dim Level As Integer Dim FilteredLevel As Range Cells.Clear Cells.UnMerge Set...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
BernieThanks for the reply, but I don't think it is working properly. Take this example table into consideration.Your code works until the last line where filters for xlCellTypeConstants. I wrote a...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
TryWith Hierarchy.Columns(Level).Cells Set FilteredLevel = .Offset(1, 0).Resize(.Rows.Count - 1, 1).SpecialCells(xlCellTypeVisible) Set FilteredLevel = FilteredLevel.SpecialCells(xlCellTypeConstants)...
View ArticleUse For Each...Loop, but Skip Header Row in Non-Contiguous Range
This is kind of a two part question.I'd like to resize my non-contiguous range to exclude the header, but Excel won't allow me to use the Resize method. I get a non-contiguous range because I am using...
View Article
More Pages to Explore .....