VBA/Excel/Access/Word/File Path/FileLen — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 15:47, 26 мая 2010
Determining a file size: displays the size, in bytes, of the Excel executable file. It finds this value by using the FileLen function.
<source lang="vb">
Sub GetFileSize()
Dim TheFile As String TheFile = "c:\MSOFFICE\EXCEL\EXCEL.EXE" MsgBox FileLen(TheFile)
End Sub
</source>