mikieprojects48
New Member
- Joined
- Jun 5, 2011
- Messages
- 9
I have a macro that will show me the file size of a file. It should be simple I know, I have lloked over the internet and not getting anywhere. here is a the code that I got from a book.I'm getting a run time error 53 and the debug says theres a problem with the last line. Any help would be appreciated.
Sub GetFileSize()
Dim TheFile As String
TheFile = "G:\DWG"
MsgBox FileLen("TheFile")
End Sub
Sub GetFileSize()
Dim TheFile As String
TheFile = "G:\DWG"
MsgBox FileLen("TheFile")
End Sub