I'm am fairly new to vba and would like to write a routine that would have a main routine that makes a class list from a student table on an excel sheet, and then a sub routine that would list out the pta reps under each class from a second table. Since I am new to sub routines here are my questions:
at the end of the teacher list I would reference that pta sub and then return to the student database that would then move to the next teacher and so on. The pta reps are in an unrelated table from students although teacher name is a commen thread. Once the sub routine is done and I return to the main routine, will it know which table it is in and be at the correct place in the table?
Does this logically sound like it would work or does anyone have a better logical process? thx!
at the end of the teacher list I would reference that pta sub and then return to the student database that would then move to the next teacher and so on. The pta reps are in an unrelated table from students although teacher name is a commen thread. Once the sub routine is done and I return to the main routine, will it know which table it is in and be at the correct place in the table?
Does this logically sound like it would work or does anyone have a better logical process? thx!