Right, new plan: I have changed the food group combo box to radio buttons, so when the radio button has been clicked, it automatically puts something into cell A1. I have used the following code:
With Me.Cbo_FoodItem
If Worksheet("na").Range("A1") = "carbs" Then
Cbo_FoodItem.List = Worksheet("foodtable").Range("B2:B215").Value
End If
End With
However, when i try to test it, i get an error which then highlights the "Worksheet" after IF and says "Sub or Function not defined".
Is there anything wrong with the formulae??