Be the first user to complete this post

  • 0
Add to List

FileSystemObject : GetAbsolutePathName Method

FileSystemObject : GetAbsolutePathName Method

Description:

Returns a complete Path from a provided path.

Format :

objectOfFileSystemObject. GetAbsolutePathName(providedPath)

Arguments:
  • objectOfFileSystemObject
    • As the names says, it’s a FileSystemObject.
  • providedPath
    • Path provided to change to a complete path.
Function ShowAbsolutePath(path)
   Dim fso
   Set fso = CreateObject("Scripting.FileSystemObject")
   ShowAbsolutePath = fso.GetAbsolutePathName(path)
End Function



Also Read:

  1. FileSystemObject : CreateFolder Method
  2. FileSystemObject : GetFile Method
  3. VBA-Excel: Add/Insert multiple objects from a folder in an Excel Document.
  4. FileSystemObject : CreateTextFile Method
  5. FileSystemObject : MoveFolder Method
  6. FileSystemObject : FileExists Method
  7. FileSystemObject in Excel Macro
  8. FileSystemObject : CopyFile Method