Hello, first let me start by saying am very new to VBA and I've searched countless sites, including this one, to get to what I need but I am not sure what to do at the same time as being overwhelmed.
I am using Excel 2000 on a Windows 2000 machine.
What I have is a worksheet currently just called sheet2 that holds source data. I have called that data training_database using the OFFSET function so the named range can grow dynamically.
On another sheet I hold records for three other named ranges, Group, Level, and Type. Each of these is also set up to grow dynamically.
On a third sheet, sheet6, I have three comboboxes, cmbGroup, cmbLevel, and cmbType. I populated these using their ListFillRange.
The database I mentioned above has the following headings. Group, Level, Type, Course, and Organization. What I want to do in the sheet that contains the comboboxes is select the records that correspond to the records for the value selected in the list, but on that page I only want to display the Organization and Course.
I recorded a macro using AutoFilter to see the results, but I am not sure how to tie this to what I need.
In the cmbGroup change event, for example, I put the following, but I know this is not going to do what I want, but I really do not know enough to do what I want to do.
Private Sub cmbGroup_Change()
Range("training_database").AutoFilter Field:=1, _ Criteria1:=cmbGroup.Text
End Sub
I really would appreciate some guideance. I've purchased several books and have looked online, but I am lost.
Thanks
I am using Excel 2000 on a Windows 2000 machine.
What I have is a worksheet currently just called sheet2 that holds source data. I have called that data training_database using the OFFSET function so the named range can grow dynamically.
On another sheet I hold records for three other named ranges, Group, Level, and Type. Each of these is also set up to grow dynamically.
On a third sheet, sheet6, I have three comboboxes, cmbGroup, cmbLevel, and cmbType. I populated these using their ListFillRange.
The database I mentioned above has the following headings. Group, Level, Type, Course, and Organization. What I want to do in the sheet that contains the comboboxes is select the records that correspond to the records for the value selected in the list, but on that page I only want to display the Organization and Course.
I recorded a macro using AutoFilter to see the results, but I am not sure how to tie this to what I need.
In the cmbGroup change event, for example, I put the following, but I know this is not going to do what I want, but I really do not know enough to do what I want to do.
Private Sub cmbGroup_Change()
Range("training_database").AutoFilter Field:=1, _ Criteria1:=cmbGroup.Text
End Sub
I really would appreciate some guideance. I've purchased several books and have looked online, but I am lost.
Thanks