To see a world in a grain of sand.
And a heaven in a wild flower
Hold infinity in the palm of your hand.
And eternity in an hour
一花一世界
一沙一天堂
掌中握无限
霎那成永恒
星期三, 十二月 19, 2007
VBA/Vbscript 如何彻底关闭一个UserForm实例
Excel里的VBA定义了一个UserForm 当点击close按钮的时候,往往是调用me.hide方法来隐藏。单这样不能完全清楚当前 实例,当再次调用me.show的时候,只是将该窗口重新显示。 所以,如果需要在隐藏窗口的时候动态修改了内容,当再次显示的时候, 想显示出来的时候,必须加入unload me代码 如下: Private Sub okbutton_Click() aboutForm.Hide Unload Me End Sub