Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unable to ftp workbook with excel 2002
The code below to save an excel workbook to an ftp site works for excel 2003
but does not work in excel 2002. Is there a way to get it to work for excel 2002? Sub test() ActiveWorkbook.SaveAs ", FileFormat:=xlNormal End Sub get this message when running code in excel 2002. Runtime error 1004 Method SaveAs of object _Workbook failed Thanks -- Brian |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unable to ftp workbook with excel 2002
Hi Brian,
The following code works for me in both XL2000 and XL2002: ActiveWorkbook.SaveAs " Regards, KL "Brian" wrote in message ... The code below to save an excel workbook to an ftp site works for excel 2003 but does not work in excel 2002. Is there a way to get it to work for excel 2002? Sub test() ActiveWorkbook.SaveAs ", FileFormat:=xlNormal End Sub get this message when running code in excel 2002. Runtime error 1004 Method 'SaveAs' of object '_Workbook' failed Thanks -- Brian |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unable to ftp workbook with excel 2002
Hi KL,
Thank you for your response. I needed to be more precise in my original question, The code i referenced earlier works in excel 2003 without an ftp location already defined (as in the ftp locations referenced when using the excel "save as" dialog box and ftp locations. But using the same code in excel 2002 without an ftp location defined, it will not work. Is there a way to get this to work in excel 2002? thanks, Brian -- Brian "KL" wrote: Hi Brian, The following code works for me in both XL2000 and XL2002: ActiveWorkbook.SaveAs " Regards, KL "Brian" wrote in message ... The code below to save an excel workbook to an ftp site works for excel 2003 but does not work in excel 2002. Is there a way to get it to work for excel 2002? Sub test() ActiveWorkbook.SaveAs ", FileFormat:=xlNormal End Sub get this message when running code in excel 2002. Runtime error 1004 Method 'SaveAs' of object '_Workbook' failed Thanks -- Brian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
2002: Unable to delete Normal_xyz style inherited from workbook(xy | Excel Discussion (Misc queries) | |||
Excel 2002 : Unable to open files in MS Outlook 2002 | Excel Discussion (Misc queries) | |||
Excel 2002 opens without showing a workbook | Excel Discussion (Misc queries) | |||
Unable to open excel workbook..... | Excel Discussion (Misc queries) | |||
"Unable to read file." Excel 2002 | Setting up and Configuration of Excel |