I cant figure out for the life of me why this doesn't work... It seems to work ok in VB6 but when I put it into Access 2007 VBA it comes up with some ridiculous error message.Anyone got any idea what could be the problem here? Its been puzzling me for a while now!!click here^^ for screenshot :(
Untested but have you triedlst2.AddItem lst1.List(lst1.Value)
Hi VoGIndeed! .AddItem and .Value are the way forward!The winning code was:Private Sub cmdMove_Click()If lst1.ListIndex = -1 ThenExit SubElselst2.AddItem (lst1.Value)End IfEnd Sub
This thread is now locked and can not be replied to.
Surface Pro (2017) vs Surface Pro 4
Where HTML5 is headed next
MacBook Pro v Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.
© Copyright 2017 IDG UK. All Rights Reserved.