R
rami
i'm writing a macro in outlook.
the macro is supposed to open an excel sheet, write something and save the sheet.
when i tried:
Set goExcel = CreateObject("Excel.Application")
goExcel.Workbooks.Open "......xls"
goExcel.Application.Visible = True
goExcel.Application.Cells(Myday, x).Value = myTime
goExcel.Save
a warning window poped up with a warning that the file resume.xlw already exists.
when i tried:
goExcel.SaveAs FileName:="....xls", FileFormat:=xlNormal, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
a mistake window opend "object doesn't support this property or method"
appricate any help!
the macro is supposed to open an excel sheet, write something and save the sheet.
when i tried:
Set goExcel = CreateObject("Excel.Application")
goExcel.Workbooks.Open "......xls"
goExcel.Application.Visible = True
goExcel.Application.Cells(Myday, x).Value = myTime
goExcel.Save
a warning window poped up with a warning that the file resume.xlw already exists.
when i tried:
goExcel.SaveAs FileName:="....xls", FileFormat:=xlNormal, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
a mistake window opend "object doesn't support this property or method"
appricate any help!