Deleting worksheets containing ActiveX controls
Hi Alex,
I am having trouble deleting worksheets containing ActiveX
controls whilst maintaining the values in publicly
declared variables.
EG.
Create two worksheets, each with two command buttons on.
On Sheet2, put in the following VBA code:
[code]
Option Explicit
public bln as boolean
write the public deklaration in a Standard module.
--
Regards
Melanie Breden
- Microsoft MVP für Excel -
http://excel.codebooks.de (Das Excel-VBA Codebook)
|