Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Private Function GetThisWorkbookCN() As String
  2. Dim fileFullPath As String
  3. fileFullPath = ThisWorkbook.FullName
  4. GetThisWorkbookCN = "DSN=Excel Files;DBQ=" & fileFullPath
  5. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement