abdo meghari
Well-known Member
- Joined
- Aug 3, 2021
- Messages
- 612
- Office Version
- 2019
Hi,
is there any macro to open pdf & excel files from userform ?
I search for code to deal pdf & excel files are existed within folder & subfolder in this directory "C:\Users\AM\Desktop\FILES\"
so I have userform will show data in listbox , what I want when select row from listbox and click the selected row then should open file whether EXCEL or PDF files .
and should search within main folder "FILES" or subfolders are existed in main folder " FILES" ( mean search for the file within the main directory regardless how many Folders divisions within the home directory).
thanks
is there any macro to open pdf & excel files from userform ?
I search for code to deal pdf & excel files are existed within folder & subfolder in this directory "C:\Users\AM\Desktop\FILES\"
so I have userform will show data in listbox , what I want when select row from listbox and click the selected row then should open file whether EXCEL or PDF files .
and should search within main folder "FILES" or subfolders are existed in main folder " FILES" ( mean search for the file within the main directory regardless how many Folders divisions within the home directory).
thanks