Am looking for assistance with some VBA code.
Have a range name set up that is Cell B2 on Sheet1:Sheet10. Range is Named "UnitNumber"
Have placed button control on a menu worksheet that would like to open a InputBox("Key in Unit Number")
If unit number has already been keyed in B2 in range Sheet1:Sheet10 Cell B2, jump to that sheet and land in cell B5.
If unit number has not yet been entered into range Sheet1:Sheet10 Cell B2, then go to next sheet in range with nothing in Cell B2 and place unit number keyed in UnputBox in Cell B2, then move to cell B5.
Currently have code for navigating that is based on Worksheet name and this will not work for what I am trying to achieve.
Your assistance Appreciated....
Have a range name set up that is Cell B2 on Sheet1:Sheet10. Range is Named "UnitNumber"
Have placed button control on a menu worksheet that would like to open a InputBox("Key in Unit Number")
If unit number has already been keyed in B2 in range Sheet1:Sheet10 Cell B2, jump to that sheet and land in cell B5.
If unit number has not yet been entered into range Sheet1:Sheet10 Cell B2, then go to next sheet in range with nothing in Cell B2 and place unit number keyed in UnputBox in Cell B2, then move to cell B5.
Currently have code for navigating that is based on Worksheet name and this will not work for what I am trying to achieve.
Your assistance Appreciated....