Hi
I was wondering if someone could help me. I have a worksheet named Questionnaire that has several questions and gives a choice of answers from a drop downlist. The user filling in the worksheet can pick as many answers as they want from the drop downlist and it places each answer chosen from the same question in the adjacent cell. The dropdown list is populated from a worksheet called list. I used the following macro to get it to place the answers in the adjacent cell which allows them to choose as many as they want (I got this off the internet and take no credit for the macro that is written ~ What I will say it does work perfectly for my needs
)
Anyway the problem that I am having at the moment is that I want to protect the worksheet so that no-one can change the questions or the answers that are on the sheet named list.
I am probably doing something stupid but I am having real trouble trying to protect the sheets. It doesn't like it and the macro will not work.
I would really appreciate it if someone could help me with protecting the questionnaire and the sheet named list.
Thanks in advance for reading this and thanks in advance if you are able to help
I was wondering if someone could help me. I have a worksheet named Questionnaire that has several questions and gives a choice of answers from a drop downlist. The user filling in the worksheet can pick as many answers as they want from the drop downlist and it places each answer chosen from the same question in the adjacent cell. The dropdown list is populated from a worksheet called list. I used the following macro to get it to place the answers in the adjacent cell which allows them to choose as many as they want (I got this off the internet and take no credit for the macro that is written ~ What I will say it does work perfectly for my needs

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngDV As Range
If Target.Count > 1 Then GoTo exitHandler
Application.EnableEvents = False
On Error Resume Next
Set rngDV = Cells.SpecialCells(xlCellTypeAllValidation)
On Error GoTo exitHandler
If rngDV Is Nothing Then GoTo exitHandler
If Intersect(Target, rngDV) Is Nothing Then
'do nothing
Else
If Target.Value = "" Then GoTo exitHandler
If Target.Offset(0, 1).Value = "" Then
Target.Offset(0, 1).Value = Target.Value
Else
Target.Offset(0, 1).Value = _
Target.Offset(0, 1).Value _
& Chr(10) & Target.Value
End If
End If
exitHandler:
Application.EnableEvents = True
End Sub
Anyway the problem that I am having at the moment is that I want to protect the worksheet so that no-one can change the questions or the answers that are on the sheet named list.
I am probably doing something stupid but I am having real trouble trying to protect the sheets. It doesn't like it and the macro will not work.
I would really appreciate it if someone could help me with protecting the questionnaire and the sheet named list.
Thanks in advance for reading this and thanks in advance if you are able to help
