Hi All,
I'm a retired hardware engineer trying to learn a new trade....VBA SW. It's going pretty well so far
but, certain aspects have me puzzled.
For instance, for this section of my code, I get a "Run Time Error '-2147352571 (800200005)': Type Mismatch" error:
Dim ListData
:
:
frmMain.lstFindChipset.AddItem ListData() <=== Here's where I get the 'type mismatch' error
It's a bit funny because, on screen, the ListBox area looks like it's loading the correct data from the ListData array but then I get the error.
Any ideas or clues from what I've described?
Finally, can anyone explain why the following code works:
ListData() = frnMain.lstFindChipset.List()
But, what I would think of as it's transform:
frmMain.lstFindChipset.List() = ListData()
Does NOT work........why not??? Aren't both examples just array transfers??
Thanks for any help you can provide.
Regards,
Grantski
Bookmarks