Richard_mcr
New Member
- Joined
- Oct 19, 2023
- Messages
- 8
- Office Version
- 2019
- Platform
- Windows
Hello Again!
I'm looking for some VBA to open a worksheet in a folder from a workbook in a different folder, however the full path will vary depending on who's copied the files where. As an example, I have a group of folders which always maintain the same structure, but are copied into different parent folders. Therefor, I need to establish the file path of the main workbook, go up a folder level, and then select the known folder name and then the worksheet. I've tried to show it visually here:
As always, any help is much appreciated!
Thanks!
I'm looking for some VBA to open a worksheet in a folder from a workbook in a different folder, however the full path will vary depending on who's copied the files where. As an example, I have a group of folders which always maintain the same structure, but are copied into different parent folders. Therefor, I need to establish the file path of the main workbook, go up a folder level, and then select the known folder name and then the worksheet. I've tried to show it visually here:
As always, any help is much appreciated!
Thanks!