Hello noob here. I'm doing a program where we are campground managers and in the third form do campground housing
I'm stuck in the final part of the third form where we must take the inputs of both list and be able to add and remove occupancy.
Cabins Occupants
Cabin A 8
Cabin B 4
Cabin C 3
Cabin D 4
Cabin E 5
Cabin F 4
Cabin G 3
Cabin H 6
I have been trying a InputBox
Dim AddCabin As String
Dim AddPeople As Integer
AddCabin = InputBox("Designate Cabin:", "New Cabin Designation")
CabinList.Items.Add(AddCabin)
AddPeople = InputBox("Add People:", "New Residents")
PeopleList.Items.Add(AddPeople)
but I can only add it one line at a time and another problem with this is the cabins and people must be on the same line or else it will be off. An additional req is there can be no more than 50 people at the grounds at all time, but I think I got that covered in an IF statement.
My issue is wondering if theres any way I can link these values of each list box together so I can, for example, Add 5 People To Cabin B and/or Subtract 1 Person From Cabin G by button or input box or something???