![]() |
Get file name to open from cell
I have the below code where file name is 'Disposition'..
I need to make macro to pick file name from Sheets("Set").Range("B2").Value Workbooks.Open ThisWorkbook.Path & "\Misc\Disposition_of_Calls.xls", True ActiveWorkbook.Sheets("Calls_Report").Range("F2"). Value = ThisWorkbook.Sheets("mySheet").Range("L7").Value |
Get file name to open from cell
Kashyap,
Workbooks.Open ThisWorkbook.Path & "\Misc\" & Sheets("Set").Range("B2").Value & ".xls", True Or Workbooks.Open ThisWorkbook.Path & "\Misc\" & Sheets("Set").Range("B2").Value, True Depending on what the actual value is in Sheets("Set").Range("B2") HTH, Bernie MS Excel MVP "Kashyap" wrote in message ... I have the below code where file name is 'Disposition'.. I need to make macro to pick file name from Sheets("Set").Range("B2").Value Workbooks.Open ThisWorkbook.Path & "\Misc\Disposition_of_Calls.xls", True ActiveWorkbook.Sheets("Calls_Report").Range("F2"). Value = ThisWorkbook.Sheets("mySheet").Range("L7").Value |
Get file name to open from cell
Thanks Bernie
|
All times are GMT +1. The time now is 07:24 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com