VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
The below code is not working..can any one guide..
Dim Path(1) As String
Dim Book(1) As String
Path(1) = Workbooks("ABC").Sheets("Main").Range("Z1").Value
'Z1 is combination of formula which gives path name
Book(1) = "xxx.xlsx"
Workbooks.Open Filename:=Path(1) & Book(1)