Guest User

Untitled

a guest
Oct 20th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Sub Macro1()
  2.  
  3. ActiveWorkbook.Connections("mismatch").Refresh
  4. With Worksheets("0Mismatch").QueryTables(1)
  5. .Connection = "TEXT;" & ThisWorkbook.Path & "c:myfile.csv"
  6. .Refresh BackgroundQuery:=False
  7. End With
  8. End Sub
Add Comment
Please, Sign In to add comment