Hi,
I´m looking for some help in drag and drop in userforms or textbox. I built an application where the users have to choose a textfile to open. I´m using the "Application.GetOpenFilename" method but it would be much better if the users could drag and drop the file into the form.
Is there a way to capture the drag and drop of a file from windows explorer to a userform?
I´ve tried to use "BeforeDragOver" and "BeforeDropOrPaste" events but I can´t make it.
Unfortunately it seems that I should use "OLEDragDrop" event (present in VB6.0) but I don´t think it is in VBA possibilities.
I would appreciate any kind of help or even a path to get into it.
Regards,
I´m looking for some help in drag and drop in userforms or textbox. I built an application where the users have to choose a textfile to open. I´m using the "Application.GetOpenFilename" method but it would be much better if the users could drag and drop the file into the form.
Is there a way to capture the drag and drop of a file from windows explorer to a userform?
I´ve tried to use "BeforeDragOver" and "BeforeDropOrPaste" events but I can´t make it.
Unfortunately it seems that I should use "OLEDragDrop" event (present in VB6.0) but I don´t think it is in VBA possibilities.
I would appreciate any kind of help or even a path to get into it.
Regards,