hi,
the following code creates a workbook. i want to save it to "C:\TestFile\test.xls". i'm not having any luck saving this file.
i tried xl.save but i get an error "A file name 'RESUME.XLW' already exists in this location. Do you want to replace it? "
how can i code this properly?
thanks
zach
the following code creates a workbook. i want to save it to "C:\TestFile\test.xls". i'm not having any luck saving this file.
i tried xl.save but i get an error "A file name 'RESUME.XLW' already exists in this location. Do you want to replace it? "
how can i code this properly?
Code:
Dim xl As Object, xl_workbook As Object, xl_sheet As Object
Set xl = CreateObject("Excel.Application")
xl.visible = True
Set Wk = xl.Workbooks.Add
thanks
zach