Hi WATYF,
I'm actually in Access, writing code that manipulates data I have transferred to excel.
I tried implementing something similar to what you suggested, but it still doesn't work:
Dim oXl As Excel.Application
oXl.Workbooks.Open InputFileName
oXl.Workbooks.Open OutputFileName
oXl.Workbooks(InputFileNam
oXl.Workbooks(InputFileNam
oXl.Workbooks(OutputFileNa
athemelis
Main Topics
Browse All Topics





by: WATYFPosted on 2003-07-22 at 12:44:38ID: 8979777
Well if you're working in Excel, you don't have to Dim all that. And the file has to be open the have the sheet copied into it.
heets("Rep ort").Copy Before:=Workbooks(OutputFi leName).Sh eets(1) lose True Close True
Sub Test()
Workbooks.Open InputFileName
Workbooks.Open OutputFileName
Workbooks(InputFileName).S
Workbooks(InputFileName).C
Workbooks(OutputFileName).
End Sub
WATYF