I think you'll find that Excel is opening both workbooks. If you have a
personal.xls workbook it will open everytime Excel starts. The trick is to
get a reference to the workbook you're interested in.
Dim xlApp as object
Dim xlBook as object
set xlApp = GetObject(,"Excel.Application")
set xlBook = xlApp.Workbooks.Open("D:\..\WISTL.xls")
:
xlBook.Sheets(1).Cell(1,5) = ...
[I can't for the life of me make out what the rest of your code is trying to
do ...]
> Hello,
>
[quoted text clipped - 42 lines]
> End If
> Next
cjmillerFL - 28 Aug 2006 19:43 GMT
I'll give it a shot.
I did not write the code, but the code "supposedly" moves data from a Word
form to an Excel spreadsheet. I did not post the whole code, would that be
more helpful if I did that?
Thanks for your time!
Chris

Signature
C.J. Miller
> I think you'll find that Excel is opening both workbooks. If you have a
> personal.xls workbook it will open everytime Excel starts. The trick is to
[quoted text clipped - 57 lines]
> > End If
> > Next