Stephen,
Thanks again for your reply. Yes, it is an Excel VBA project. One other
respondent suggested that I would only need to remove the Word references
which were the problem and shouldn't try to remove the Excel references. Do
you concur?
Thanks, God bless
Van

"Stephen Bullen" wrote:

> Hi VanS,
>
> > I tried to remove the Office references as you suggested which I was able to
> > do for those from Office specifically, except for the Excel 11.0 Library-it
> > gave an error message that the file was in use. My application runs in Excel.
> > So do you have any suggestions on how I can get around this to remove this
> > reference?

>
> Is this a VB project, or some VBA code in an Excel workbook. If the latter,
> Excel will update its own references correctly. If the former, I've no idea why
> you shouldn't be able to remove the reference, but you could try closing VB and
> editing the .vbp file in Notepad to remove the Excel reference.
>
> Regards
>
> Stephen Bullen
> Microsoft MVP - Excel
> www.oaltd.co.uk
>
>
>