I think this is a very basic question but am having trouble finding an answer.
I have Dev Ashish's Drag and Drop code running great.
He calls out frmDragDrop so as long as I have a form named frmDragDrop (with his events appropriately added) everything is fine.
However, I'd like to run this from many different forms so I think I want to assign a variable but I'm not sure if, where and how.
I have Dev Ashish's Drag and Drop code running great.
He calls out frmDragDrop so as long as I have a form named frmDragDrop (with his events appropriately added) everything is fine.
However, I'd like to run this from many different forms so I think I want to assign a variable but I'm not sure if, where and how.
Code:
With Forms!frmDragDrop!lstDrop
.RowSourceType = "Value List"
.RowSource = strOut
Forms!frmDragDrop.Caption = "DragDrop: " & _
.ListCount & _
" files dropped."