Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/06/2011, 19:02
Avatar de mrocf
mrocf
 
Fecha de Ingreso: marzo-2007
Ubicación: Bs.As.
Mensajes: 1.103
Antigüedad: 17 años, 1 mes
Puntos: 88
De acuerdo Excel Macros y Csv

Hola! Fernanda. Intenta con:

Código PHP:
Sub Auto_Open()
Const 
myFile As String "P:\Sistemas\Aplicaciones Bonco\Excel SQL\Pedidos Bonco SQL.csv"
ActiveSheet.Copy
ActiveSheet
.AutoFilterMode False
If Dir(myFile) <> "" Then Kill myFile
ActiveWorkbook
.SaveAs Filename:=myFileFileFormat:=xlCSVCreateBackup:=False
ActiveWorkbook
.Close False
End Sub 
Saludos, Cacho.