You need to sign in to do that
Don't have an account?
ftp upload
hey ron,
it worked! thank you so much. I have another question
im am trying to create a macro to upload a spreadsheet to an ftp site with a login nad password. I basically recorded a macro of saving to an ftp site that prompted me with a login and password. I also want the macro to not ask me what my login and password is everytime i run the macro. I jsut want it to upload as soon as i Run it. It did do the job while i was creating the macro but when i ran the macro after i created it, it didn't upload the file and gave me an error. Here is my code and my error. Any thoughts??
Run-time error '1004:'
Method 'Saveas' of object '_Workbook' Failed
Sub FTPupload()
Application.WindowState = xlMinimized
ChDir "C:\b_formats"
[COLOR=Yellow] ActiveWorkbook.SaveAs Filename:="ftp://myftp.com/account.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
End Sub[/COLOR]