View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
onedaywhen onedaywhen is offline
external usenet poster
 
Posts: 459
Default Deleting a file on C drive using VBA

"Jake" wrote in message ...
Untested air code (needs reference to Microsoft Scripting Runtime Library [scrrun.dll]):

Dim fso as FileSystemObject
Dim f as File


Change these declarations to 'As Object' and the reference is not needed.