Hi all, i have made a little tutor file for me to play with, i want to select from one listbox and load a third listbox from a second (see attached file), i use a setvisible for the other boxes just to confirm selection is ok.
this works fine, but if i cut and paste lines 12-17 and change the boxnames i keep getting an error on trying to close the properties box along the lines of "line = "linenumber"; 'end' expected (to close 'if' at line (number)) near '<eof>
now i know i am tying to do things in a very longwinded way instead of setting variables the the box names etc, but i wanted to make sure the code worked before i made it pretty (what a hope )
can anyone shed some light where i am going wrong please??
tutor.apz
this works fine, but if i cut and paste lines 12-17 and change the boxnames i keep getting an error on trying to close the properties box along the lines of "line = "linenumber"; 'end' expected (to close 'if' at line (number)) near '<eof>
now i know i am tying to do things in a very longwinded way instead of setting variables the the box names etc, but i wanted to make sure the code worked before i made it pretty (what a hope )
can anyone shed some light where i am going wrong please??
tutor.apz
Comment