Skip to content

Instantly share code, notes, and snippets.

@thoriqmacto
Created December 19, 2020 00:48
Show Gist options
  • Select an option

  • Save thoriqmacto/418740017e25816e95d9683c7db35b73 to your computer and use it in GitHub Desktop.

Select an option

Save thoriqmacto/418740017e25816e95d9683c7db35b73 to your computer and use it in GitHub Desktop.
[VBA] Get FileSize of file based on supplied path. Output in "bytes".
Function FileSize(path As String) As Variant
FileSize = FileLen(path)
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment