E
ElPresidente
Now that I have your attention haha...
I have this weekly file that contains several hundred invoices that
need to be given batch letters in according to the following
hierarchy.
Employee -> Division -> Customer -> Product Type -> Expense Code
I had previously programmed a working version in Python that
successfully did this by putting those 5 categories into 5 nested for
loops with a 6th for loop to iterate through all the Excel rows. If
the row didn't fit the criteria, it was skipped over. When there were
no rows left, it would cycle the parent for loop, increment a batch
letter and try again.
While this executed fast in Python, in VB.Net it's bogging down
heavily. There has to be a better way for me to write this code. Any
suggestions?
I have this weekly file that contains several hundred invoices that
need to be given batch letters in according to the following
hierarchy.
Employee -> Division -> Customer -> Product Type -> Expense Code
I had previously programmed a working version in Python that
successfully did this by putting those 5 categories into 5 nested for
loops with a 6th for loop to iterate through all the Excel rows. If
the row didn't fit the criteria, it was skipped over. When there were
no rows left, it would cycle the parent for loop, increment a batch
letter and try again.
While this executed fast in Python, in VB.Net it's bogging down
heavily. There has to be a better way for me to write this code. Any
suggestions?