sanilmathews
Board Regular
- Joined
- Jun 28, 2011
- Messages
- 102
Hi,
I have this simple Workbook open code with the given path as reference.
Where the above code will open the "Sample Checklist.xls" from the above mentioned path. However path mentioned above will vary and user have to go to VBA editor to change the path to open the Sample Checklist workbook.
I would not want the user to go into the VBA editor since that would expose the codes to be altered. Will it be possible to mention the path in a cell and the code to refer that cell to identify the mentioned path?
I have this simple Workbook open code with the given path as reference.
Code:
Workbooks.Open Filename:="D:\Checklist Folder\Temp\Sample Checklist.xls"
Where the above code will open the "Sample Checklist.xls" from the above mentioned path. However path mentioned above will vary and user have to go to VBA editor to change the path to open the Sample Checklist workbook.
I would not want the user to go into the VBA editor since that would expose the codes to be altered. Will it be possible to mention the path in a cell and the code to refer that cell to identify the mentioned path?