Workbook Open Filename Vba. The "File_Name" is the name of the Workbooks that you want to open. I have already a one workbook open but I am running a macro from another workbook.
All other arguments are optional - and you probably won't need to know most of. Open Filename:= _ "C:\Desktop/Emp_details.xlsx" End Sub. Set opened workbook to an object.
I tried but, I couldn't get it.
The file name of the workbook to be opened.
It simply takes the information from the user about the file to be opened. See Also: Return Excel Worksheet Name to a Cell. As far as VBA is concerned I hope you have seen the magic and wonders VBA can do at your workplace.