Hi guys,
i hope you can help me.
I have a UserForm_Initialize event that creates an array for my ListBox1 to handle more than 10 columns. This works beautifully, except that this creates a single "blank" line in my ListBox, which in turn creates an empty line in my DB when saving my data. This empty/blank item in my ListBox is really problematic, and can cause other serious repercussions.
Detail: I have a UserForm used for capturing something like an invoice. You have the record details captured at the top (name, surname etc.), and then a ListBox used for capturing multiple "line items".
This is the UserForm_Initialize code used for setting up my ListBox:
This section of code is included in both the userForm_Initialize and cmdAdd events, but should only be in the cmdAdd event. I ONLY included it at both places to correctly calculate the GlobalData and references:
This is the cmdAdd button code for saving a line item to the ListBox:
I have tried MANY possible and promising solutions, but cannot seem to get this to work with my limited knowledge. My solutions create other situations where my lines of data are overridden, or I get various errors.
Please see attached sample workbook.
Please Note: This is only a quick example I have drawn up for this purpose, so please forgive me for my control names etc. 
Thank you in advance!
Bookmarks