Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/02/2008, 11:56
opermty
Usuario no validado
 
Fecha de Ingreso: mayo-2006
Mensajes: 42
Antigüedad: 18 años
Puntos: 0
Re: Problema con excel y macros

O por script:

call prueba

sub prueba()
Dim fso, f1
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists("status.vbs")) Then set f1 = nothing: set fso = nothing: wscript.echo "Existe" : exit sub
Set f1 = fso.CreateTextFile("status.vbs", True)
end sub