Add loop and stop to Excel Macro -


no code experience. have excel file macro scan product bar-codes handheld scanner. have click "scan" every product. how add loop to:
* return start position when scanning complete
* stop when done scanning. add stop button file
info, below current macro i'd add loop , stop.

sub scanner_input()     dim myproduct string     dim lastrow object     myproduct = application.inputbox("please scan product code", "product        id", type:=1)     set lastrow = sheets("database").range("a65536").end(xlup)     lastrow         .offset(1, 2) = myproduct     end      end sub 


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

python - Getting 405 error while trying to download nltk data -