(·PÁ¤j¤j̨ó§U§¹¦¨)¦p¦ó±Æ°£~·íµ{¦¡«Ø¥ß©ó~¶}±Ò®É¼g¤J~¨C¦¸Ãö³¬³£·|°Ý¬O§_nÀx¦s
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
(·PÁ¤j¤j̨ó§U§¹¦¨)¦p¦ó±Æ°£~·íµ{¦¡«Ø¥ß©ó~¶}±Ò®É¼g¤J~¨C¦¸Ãö³¬³£·|°Ý¬O§_nÀx¦s
¥»©«³Ì«á¥Ñ av8d ©ó 2012-6-29 16:17 ½s¿è
Private Sub Workbook_BeforeClose(Cancel As Boolean)
For Each Sh In Sheets
If Sh.Name <> "Index" Then Sh.Visible = False
End Sub
Private Sub Workbook_Open()
Sheets("Index").Select
For i = 1 To 4
ActiveSheet.OLEObjects("CommandButton" & i).Visible = False
Next
ActiveSheet.OLEObjects("Textbox1").Activate
End Sub
·íµ{¦¡«Ø¥ß©ó~¶}±Ò®É¼g¤J~¨C¦¸Ãö³¬³£·|°Ý¬O§_nÀx¦s~¬O§_¥i¥HÅý¥L¦Û°Ê§PÂ_~©Î¬O¨ä¥L¤èªk? |
|
|
|
|
|
|
- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¨ä¹ê·|¸ß°Ý§An¤£nÀx¦s~ ³o¬O¦³»Ýnªº~
¦³¨Ç®ÉÔ¦bקï¤F¬Y¨Ç¸ê®Æ®É~ ¦³¥i¯à§ï¿ù~
Y¬O¤£excel¸ß°Ýªº¸Ü~ ¦³¥i¯à·|¾ÉP¾ãÓ¸ê®ÆµLªk³Q±Ï¦^¨Ó~ |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- Dim result
- If ThisWorkbook.Saved = False Then
- result = MsgBox("""" & ThisWorkbook.Name & """ ¦¹Àɮפw³Qקï,¬O§_nÀx¦s?", vbYesNoCancel)
- End If
- If result = vbYes Then
- For Each Sh In Sheets
- If Sh.Name <> "Index" Then Sh.Visible = False
- Next
- ThisWorkbook.Save
- Exit Sub
- ElseIf result = vbNo Then
- ThisWorkbook.Saved = True
- ElseIf result = vbCancel Then
- Cancel = True
- Exit Sub
- End If
- End Sub
- WORKBOOK_OPEN«á ªºª¬ºA³]¦¨¤wÀx¦s
- Private Sub Workbook_Open()
- Sheets("Index").Select
- For i = 1 To 4
- ActiveSheet.OLEObjects("CommandButton" & i).Visible = False
- Next
-
- ActiveSheet.OLEObjects("Textbox1").Activate
- thisworkbook.saved=true
- End Sub
½Æ»s¥N½X Ãö®É¦Û°Ê¦s- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- For Each Sh In Sheets
- If Sh.Name <> "Index" Then Sh.Visible = False
- thisworkbook.save
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|