I'd like to add a new module to an existing workbook.
I know how to write to an open workbook's VBE, but how do you do this to a
workbook which is closed? How would I go about referencing the Workbook?
Is it even possible?
TIA.
I'd like to add a new module to an existing workbook.
I know how to write to an open workbook's VBE, but how do you do this to a
workbook which is closed? How would I go about referencing the Workbook?
Is it even possible?
TIA.
I don't think you can, you would need to open it, write to it, and close it.
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"DaveO" <[email protected]> wrote in message
news:[email protected]...
> I'd like to add a new module to an existing workbook.
>
> I know how to write to an open workbook's VBE, but how do you do this to a
> workbook which is closed? How would I go about referencing the Workbook?
>
> Is it even possible?
>
> TIA.
Thanks for the reply Bob.
"Bob Phillips" wrote:
> I don't think you can, you would need to open it, write to it, and close it.
>
> --
> HTH
>
> Bob Phillips
>
> (replace somewhere in email address with gmail if mailing direct)
>
> "DaveO" <[email protected]> wrote in message
> news:[email protected]...
> > I'd like to add a new module to an existing workbook.
> >
> > I know how to write to an open workbook's VBE, but how do you do this to a
> > workbook which is closed? How would I go about referencing the Workbook?
> >
> > Is it even possible?
> >
> > TIA.
>
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks