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 : GetExtensionName Method
  2. FileSystemObject : GetParentFolderName Method
  3. FileSystemObject : CopyFile Method
  4. Excel-VBA : Insert Multiple Images from a Folder to Excel Cells
  5. FileSystemObject : DriveExists Method