Hi all,
right.. I have been producing a pizza order spreadsheet, which involves the user completing a series of steps which will eventually produce their final order. Its a pretty simple way of collecting data however, I thought it would be a good idea to add a code to the beginning of a macro which will state they must order at least one pizza before continuing to the next stage. Basically what i was wondering is if anybody could give me a hand producing a macro which checks to see if any of the following cells has a value in them
Cells: H12, H22, H32, H43, H57
- If none of the quantity cells have any values in them (0) the macro will not proceed to the next stage, and an error message will appear saying something like "cannot proceed until at least one pizza has been ordered".
- If at least 1 (or all) of the cells include a quantity it means a pizza is being ordered so the macro at the end of step 1 will allow the user to proceed to the next step.
If anybody could help me with this this problem, it will be hugely appreciated.
Thanks all
right.. I have been producing a pizza order spreadsheet, which involves the user completing a series of steps which will eventually produce their final order. Its a pretty simple way of collecting data however, I thought it would be a good idea to add a code to the beginning of a macro which will state they must order at least one pizza before continuing to the next stage. Basically what i was wondering is if anybody could give me a hand producing a macro which checks to see if any of the following cells has a value in them
Cells: H12, H22, H32, H43, H57
- If none of the quantity cells have any values in them (0) the macro will not proceed to the next stage, and an error message will appear saying something like "cannot proceed until at least one pizza has been ordered".
- If at least 1 (or all) of the cells include a quantity it means a pizza is being ordered so the macro at the end of step 1 will allow the user to proceed to the next step.
If anybody could help me with this this problem, it will be hugely appreciated.
Thanks all