I found the following code on the forums...
VB Code:
Dim exl As Excel.Application [b]exl = New Excel.Application[/b] exl.Workbooks.OpenText("myfile.csv") exl.Workbooks.Close() exl = Nothing
It isn't working. It says that I can't use "New" on the bolded line because Excel.Application is an interface.
What do I do?
Thanks,
Squirrelly1




Life is grand for a coder, no?
Reply With Quote