wabtrainer
IS-IT--Management
I have a range of data on one sheet ("Data_Table_With_Heads") which gets copied to a second sheet at Z1.
I then want to take this copied range, name it "Filtered_Data" and display it in a listbox, but it is only displaying the first column.
What am I doing wrong here?
This is the code thats causing the problem, fresh eyes may be needed to see through the trees!!
Range("Data_Table_With_Heads").AdvancedFilter _
Action:=xlFilterCopy, CriteriaRange:=Range("FilterCriteria"), CopyToRange:=.Range("Z1")'Name the newly created filtered table
.Range("Z1").CurrentRegion.Offset(1, 0).Name = "Filtered_Data"
UserForm1.listFind.RowSource = ""
UserForm1.listFind.RowSource = "Filtered_Data"
If you want to be a bear:
Be a Grizzly!
I then want to take this copied range, name it "Filtered_Data" and display it in a listbox, but it is only displaying the first column.
What am I doing wrong here?
This is the code thats causing the problem, fresh eyes may be needed to see through the trees!!
Range("Data_Table_With_Heads").AdvancedFilter _
Action:=xlFilterCopy, CriteriaRange:=Range("FilterCriteria"), CopyToRange:=.Range("Z1")'Name the newly created filtered table
.Range("Z1").CurrentRegion.Offset(1, 0).Name = "Filtered_Data"
UserForm1.listFind.RowSource = ""
UserForm1.listFind.RowSource = "Filtered_Data"
If you want to be a bear:
Be a Grizzly!