Set objExcel = CreateObject("Excel.Application")
Set objWorkbook _
= objExcel.Workbooks.Open ("C:\[file path and name here].xls")
objExcel.Visible = True
objExcel.Run "Update"
objWorkbook.close True 'savechanges:=true
set objExcel = nothing
Set objWorkbook = nothing
objExcel.Quit
> Hi
>
[quoted text clipped - 17 lines]
>
> Doug

Signature
Dave Peterson
Huff - 11 Jul 2006 16:14 GMT
Thanks Dave, worked a treat.
Had to remove the final objExcel.Quit line, 'cos we'd already set
objExcel to Nothing in the previous line, but after that it's all
systems go again.
Cheers.
Dave Peterson - 11 Jul 2006 18:34 GMT
I think you may have wanted to rearrange those commands so that the .quit was
before the "set = nothing" line.
> Thanks Dave, worked a treat.
>
[quoted text clipped - 3 lines]
>
> Cheers.

Signature
Dave Peterson