G
GeorgieGirl
I am using File Dialog s described in Knowledge Base Article 824272 on a form
to the user can Browse for the file they want to import. I have modified the
code so that only Excel files are listed. The user is only selecting a
single Excel spreadsheet, which properly appears in the list box.
However, the user must highlight the file path and name before requesting
clicking the button that uses a macro to import the file on the form. If it
is not highlighted, the name in the listbox is ignored.
It works OK when the user highlights it, but seems hokey when there is only
one item in the bos. Is there a way i can programatically highlight the list
box entry?
Thanks for any help.
to the user can Browse for the file they want to import. I have modified the
code so that only Excel files are listed. The user is only selecting a
single Excel spreadsheet, which properly appears in the list box.
However, the user must highlight the file path and name before requesting
clicking the button that uses a macro to import the file on the form. If it
is not highlighted, the name in the listbox is ignored.
It works OK when the user highlights it, but seems hokey when there is only
one item in the bos. Is there a way i can programatically highlight the list
box entry?
Thanks for any help.