Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
but depends upon Scripting being allowed, not true in many commercial
environments -- HTH RP "keepITcool" wrote in message ... a bit simpler alternative to using api.. Function FreeKB(DriveSpec As String) With CreateObject("Scripting.FileSystemObject") If Not .DriveExists(DriveSpec) Then FreeKB = CVErr(xlErrRef) Else FreeKB = .GetDrive(DriveSpec).FreeSpace \ 1024 End If End With End Function keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Charles" wrote: Hi is it possible to write code to check available space on a drive from Excel?. TIA Charles |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Links to mapped drive change to refer to local hard drive | Links and Linking in Excel | |||
Can I save to hard drive AND my flash drive at the same time? | Excel Discussion (Misc queries) | |||
Getting Amount Free Disk Space On A Drive | Excel Discussion (Misc queries) | |||
Pasting a range of information from a foler on F Drive to another folder on same drive | Excel Programming | |||
Find links with code; change from G drive to C drive | Excel Programming |