VB-VBA
苦苦的潜行者
苦苦的潜行者
展开
-
vb 判断控件是否有焦点和控件类型
窗体中一个timer,两个label)Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long,转载 2011-07-22 10:19:00 · 4990 阅读 · 0 评论 -
excel2003屏蔽菜单、工具栏等代码大全
如果打开文件自动屏蔽,把屏蔽代码放入Workbook_Open事件中, 值为False:Private Sub Workbook_Open()……End Sub如果想自动恢复,把恢复代码放入Workbook_BeforeClose事件中,值为True:Private Sub Workbook_BeforeClose(Cancel As Boolean)……End Sub转载 2011-12-15 17:39:23 · 1672 阅读 · 0 评论