¦p¦ó¦b«ü©w®É¶¡¦Û°Ê¦sÀɤÎÃö³¬EXCEL
- ©«¤l
- 185
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 227
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- ºX舰ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-14
- ³Ì«áµn¿ý
- 2024-10-25
|
¦p¦ó¦b«ü©w®É¶¡¦Û°Ê¦sÀɤÎÃö³¬EXCEL
½Ð±Ð¤j¤j¡An¦b¤U¤È3®É10¤À¦Û°Ê¦sÀɤÎÃö³¬EXCEL¡AÀ³¸Ó«ç¼Ë¼g¡AÁÂÁ¤j¤j! |
|
|
|
|
|
|
- ©«¤l
- 54
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 81
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS XP
- ³nÅ骩¥»
- OFFICE 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2011-1-14
- ³Ì«áµn¿ý
- 2021-4-23
|
§Ú¤]¦³¾Ç¨ì¤@¨Ç¤âªk¤F¡C
xxx.show 0 ©Î 1 ¡A¤]¬O¤@¼Ëªº·N«ä¡C |
|
É¿ú¤£ÁÙ¡A¤~¬O¤ý¹D
|
|
|
|
|
- ©«¤l
- 185
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 227
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- ºX舰ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-14
- ³Ì«áµn¿ý
- 2024-10-25
|
¦^´_ 7# GBKEE
¥ýÁÂÁª©¤j¸Ô²ÓÁ¿¸Ñ¡A¤p½ú¦b¾Ç²ß¤¤¡C |
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 6# cdkee
°Ý1) ¨S¿ù Application.OnTime "08:22:56", "ThisWorkbook.EX"
µ{§Ç¦b ThisWorkbook,Sheet1,Sheet2 ....µ¥ ª«¥ó¼Ò²Õ »Ý«ü©ú, µ{§Ç¦b¤@¯ë¼Ò²Õ(Module)¤º«h¤£»Ý«ü©úµ{§Ç©Ò¦bªº¼Ò²Õ.
°Ý2) Private Sub EX() <---¦b³oÓ¨Ò¤l¥ÎPrivate¦³¨S¦³¯S§O·N«ä?
Sub EX() => Public Sub EX(),¬O¤½¥Îªº¨ä¥Lª«¥ó¼Ò²Õ©Î ¤@¯ë¼Ò²Õ(Module)³£¥i¥H¨Ï¥Îªº.
Private Sub EX() ¬O¨p¥Îªº,¨ä¥Lª«¥ó¼Ò²Õ©Î ¤@¯ë¼Ò²Õ(Module) µLªk¨Ï¥Î.
¨Ò¦p¦³Private Sub EX() ¤Î Sub Example() ¨âµ{§Ç ¦b«ü¥O [¤u¨ã]->[¥¨¶°] ¥u¥i¥H§ä¨ìSub Example()
°Ý3) Private Sub Workbook_BeforeClose(Cancel As Boolean)»PPrivate Sub Workbook_BeforeClose()¦³¤°»ò¤À§O?
Private Sub Workbook_BeforeClose(Cancel As Boolean) ¬O©óÃö³¬Workbook®Éªº¤º«ØIJ°Ê¨Æ¥ó
Private Sub Workbook_BeforeClose()¦]»P¤Wz¤º«ØIJ°Ê¨Æ¥ó¦WºÙ¬Û¦P,¦p¦bThisWorkbookª«¥ó¼Ò²Õ¤º¬O¤£¤¹³\ªº.
°Ý4) ThisWorkbook.Save <---¬O§_º|¼g³oÓ? ¬Ý¤£©ú¥Õ§Aªº·N«ä
°Ý5) ThisWorkbook.Close 1 ¥¿¦¡¼gªk ThisWorkbook.Close SaveChanges:=True (VBA False=0, True=1)
°Ý6) Sub AUTO_OPEN()...¤£¥ÎPrivate Sub Workbook_Open()¬O¦]¬°¦bModuleªºµ{¦¡¤£¥i¥ÎPrivate?©Î¦³¨ä¥L¦]¯À?
Private Sub Workbook_Open() ¬OWorkbook¶}±Ò®Éªº¤º«ØIJ°Ê¨Æ¥ó,©ñ©óModuleªºµ{¦¡½X¤¤,¤£·|©óÀɮ׶}Àɮɦ۰ʰõ¦æ.
°Ý7) ¤p½ú¤´µM¤À¤£²M¡A¦ó®É¥ÎSheet/ThisWorkbook¡A¦ó®É¥ÎModule?
¦h¦h½m²ß«á·|¿Ä·|³e³qªº!! |
|
|
|
|
|
|
- ©«¤l
- 185
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 227
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- ºX舰ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-14
- ³Ì«áµn¿ý
- 2024-10-25
|
¦^´_ 5# GBKEE
ÁÂÁ ª©¤jªº¦h¤è±Ð¾É¡A¤p½ú²`³Q·P°Ê!
½Ð±Ðª©¤j:
ThisWorkbookªºµ{¦¡½X¤¤...
°Ý1) Application.OnTime "08:22:56", "ThisWorkbook.EX" <---¬O¦]¬°Private Sub EX() ¦bThisWorkbook¤¤?
°Ý2) Private Sub EX() <---¦b³oÓ¨Ò¤l¥ÎPrivate¦³¨S¦³¯S§O·N«ä?
°Ý3) Private Sub Workbook_BeforeClose(Cancel As Boolean)»PPrivate Sub Workbook_BeforeClose()¦³¤°»ò¤À§O?
°Ý4) ThisWorkbook.Save <---¬O§_º|¼g³oÓ?
°Ý5) ThisWorkbook.Close 1¬O§_«üÃö³¬ÀɮצӤ£Ãö³¬EXCEL?'Close'¤§«áªº¼Æ¦r¦³¤°»ò·N«ä?
Moduleªºµ{¦¡½X¤¤...
°Ý6) Sub AUTO_OPEN()...¤£¥ÎPrivate Sub Workbook_Open()¬O¦]¬°¦bModuleªºµ{¦¡¤£¥i¥ÎPrivate?©Î¦³¨ä¥L¦]¯À?
°Ý7) ¤p½ú¤´µM¤À¤£²M¡A¦ó®É¥ÎSheet/ThisWorkbook¡A¦ó®É¥ÎModule?
¤p½ú°ÝÃD¦h¦h¡A·Ð½Ðª©¤j¤Þ¾É¡AÁÂÁÂ! |
|
|
|
|
|
|
- ©«¤l
- 185
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 227
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- ºX舰ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-14
- ³Ì«áµn¿ý
- 2024-10-25
|
¦^´_ 2# GBKEE
ÁÂÁª©¤j´`´`µ½»¤¡A¤p½úªì¦¸§¹¦¨¥\½Ò¡A½Ðª©¤jÀË´ú¡AÁÂÁÂ!
hidden.rar (15.86 KB)
|
|
|
|
|
|
|
- ©«¤l
- 185
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 227
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- ºX舰ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-14
- ³Ì«áµn¿ý
- 2024-10-25
|
¦^´_ 2# GBKEE
ÁÂÁª©¤j«ü¾É!
¦pªG¦bÁôÂäu¨ã¦C®É¡AÀ³«ç¼Ë§ï¼g¡A¦AÁÂÁª©¤j±Ð±Â!
hidden.rar (12.87 KB)
|
|
|
|
|
|
|