VBAconfused
New Member
- Joined
- Sep 6, 2009
- Messages
- 6
Hi. You all have been helpful in the past. I hope you come through again for me.
I woud like a VBA code that when excuted in an Excel file (e.g., option 1 on an inputbox) will prompt me for s string (e.g., "firstname1") and then give me a pop up window with a list of all pdf files in the current and all subdirectories that contain the string ("firstname1") (which may be accomplished, for example, by executing the Search command in the windows explorer). I would like to click on the list and view any individual pdf file.
After I am done viewing the pdf file, it would be nice as a bonus to retrace my steps, i.e., first to the list of the files just shown in the pop window (so that I can look at other files on the list), and then click out of the popup window and get back to the excel program so that I can type my next string (e.g., "firstname2").
Thank you in advance.
I woud like a VBA code that when excuted in an Excel file (e.g., option 1 on an inputbox) will prompt me for s string (e.g., "firstname1") and then give me a pop up window with a list of all pdf files in the current and all subdirectories that contain the string ("firstname1") (which may be accomplished, for example, by executing the Search command in the windows explorer). I would like to click on the list and view any individual pdf file.
After I am done viewing the pdf file, it would be nice as a bonus to retrace my steps, i.e., first to the list of the files just shown in the pop window (so that I can look at other files on the list), and then click out of the popup window and get back to the excel program so that I can type my next string (e.g., "firstname2").
Thank you in advance.