Writing to a file would likely take even longer. If it's for a VB listbox why not write the code in VB?