jparfitt87
New Member
- Joined
- Jul 13, 2012
- Messages
- 23
Hi all, kinda new to VBA and have become stuck on something.....
I have a VBA Userform which i'm using as a feedback survey.
Within the excel Sheet (which will later be hidden) I have the questions linked to the Labels within the Userform, next to the questions it has a list validation for which answers are needed IE agree, Satisfied, Very Good. These are name Answer_Set_1, Answer_Set_2 etc. the different range of answers are within their own sheet called "Answers" and the ranges are dynamically named according the the list validation.
What I need to do is link the combo box within the VBA userform to show the answers depending on the list validation selected....
This is what I'm thinking......
If Worksheets("Questions").Range(ResponceQ1AV) = "Answer_Set_1" Then
FrmScope.CmbQ1 = Worksheets("Answers").Range(Answer_Set_1)
End If
But I get an application defined or object defined error.
Does any one have anything that could help, or explain to me (in simple terms) where i'm going wrong??
Thanks in advance
I have a VBA Userform which i'm using as a feedback survey.
Within the excel Sheet (which will later be hidden) I have the questions linked to the Labels within the Userform, next to the questions it has a list validation for which answers are needed IE agree, Satisfied, Very Good. These are name Answer_Set_1, Answer_Set_2 etc. the different range of answers are within their own sheet called "Answers" and the ranges are dynamically named according the the list validation.
What I need to do is link the combo box within the VBA userform to show the answers depending on the list validation selected....
This is what I'm thinking......
If Worksheets("Questions").Range(ResponceQ1AV) = "Answer_Set_1" Then
FrmScope.CmbQ1 = Worksheets("Answers").Range(Answer_Set_1)
End If
But I get an application defined or object defined error.
Does any one have anything that could help, or explain to me (in simple terms) where i'm going wrong??
Thanks in advance