store.Value = InputBox("Sales for Store " & storeNum)
[code]reason = InputBox("Why are the sales deviated?", "Reason for Deviation", "Reason for Deviation")
When you click the button it runs a loop. It looks at each 'store' in the range and for each one displays an inputbox.
firstly the code is saying the store.value is equal to whatever the user types in an inputbox.
store.Value = InputBox("Sales for Store " & storeNum)[/code] will trigger the input box