mingrong9757
Member
- Joined
- Dec 26, 2010
- Messages
- 349
- Reaction score
- 1
Hi guys I need help on how to open a excel file without the full file name.
For example I need to open the file named "EACP_VI MAY 2017.xls".
How do I go about opening the file without the full file name if it's to be opened on a URL e.g.
workbooks.open filename "http://www.sharewithme.com/EACP_VI%20MAY%202017.xls"
Because the file name changes every month and I can't possibly change the code every time e.g.
MAY --> "EACP_VI MAY 2017.xls".
JUNE --> "EACP_VI JUNE 2017.xls".
2018 JUNE --> "EACP_VI JUNE 2018.xls"
Many helps thanks. Really appreciate it.
For example I need to open the file named "EACP_VI MAY 2017.xls".
How do I go about opening the file without the full file name if it's to be opened on a URL e.g.
workbooks.open filename "http://www.sharewithme.com/EACP_VI%20MAY%202017.xls"
Because the file name changes every month and I can't possibly change the code every time e.g.
MAY --> "EACP_VI MAY 2017.xls".
JUNE --> "EACP_VI JUNE 2017.xls".
2018 JUNE --> "EACP_VI JUNE 2018.xls"
Many helps thanks. Really appreciate it.
Last edited:
