On Mar 24, 2:30 pm, "Otto Moehrbach" <moehrbachoex...@bellsouth.net>
wrote:
> > Is this normal? Thanks for your time. Otto- Hide quoted text -
>
> - Show quoted text -
This is replicable:
1. Create a workbook called A.xls. Add a module with some code.
2. Create a 2nd workbook, add a module and run the following macro:
Public wkb As Workbook
Sub Test()
Set wkb = Workbooks("A.xls")
End Sub
3. Close A.xls
4. Go back to the VBE and A.xls is still there and the code is visible too.
5. Click the Stop button. A.xls is cleared out.
Now perform the steps again with a modified macro, and omit Step 5.
Sub Test()
Set wkb = Workbooks("A.xls")
Set wkb = Nothing
End Sub
A.xls is no longer available.
--
Tim Zych
http://www.higherdata.com
Workbook Compare - Excel data comparison utility
Free and Pro versions
"Otto Moehrbach" <moehrba...@bellsouth.net> wrote in message
news:%2377Ql6K...@TK2MSFTNGP03.phx.gbl...