asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,286
- Office Version
- 2013
- Platform
- Windows
Code:
Sub Button2_Click()
Dim name As String
Cells(1, 2) = "=LEFT(cell(""filename""),FIND(""["",cell(""filename""))-1)"
Application.ScreenUpdating = False
Application.DisplayAlerts = False
name = "C:\SHARING FILES\me\exports\0800"
Workbooks.Open Filename:=Cells(1, 2) & name
Worksheets("Sheet1").Range("A1:P1500").Copy
ActiveWorkbook.Close False
Worksheets("0800").Range("A1").PasteSpecial
End Sub
Good Day ,
Could someone help me on that code given above, why im having error?
Many Thanks