ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©óuserform show 0 ªº°ÝÃD

[µo°Ý] Ãö©óuserform show 0 ªº°ÝÃD

·Q½Ð°Ý¦U¦ì°ª¤â ¤p§Ì»s§@¤Fªí³æ ¥Î¤FUSERFORM.SHOW 0
¤£ª¾¬O§_¦³¤èªk ¦b¤£Ãö³¬ªí³æªº±¡ªp¤U ¥iÅýªí³æ¦b¶}±Ò¨ä¥LexcelÀÉ®×®É ¦Û°ÊÁôÂà ¤Á¦^­ì¥»Àɮ׫h¥X²{

¦^´_ 1# feecshyrnd


    ¤£¤ÓÀ´±zªº·N«ä~
    ´Nºâ¶}¨ä¥LexcelÀÉ®×®É~ §Aªºµøµ¡Åã¥Ü¨ä¥LÀɮסA­ì¥»ªºªí³æ´N·|¬Ý¤£¨ì¤F...
     
      ¨Ò¦p¥¿¦b°õ¦æªºªí³æ (AÀÉ®× ªº ¥Òªí³æ) ~ ¦A¶} BÀÉ®×®É~ §Aªºµøµ¡À³¸Ó¥u·|Åã¥Ü BÀɮתºµe­±~ (°£«D§A¤â°Ê¤Á´«)

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2022-12-8 21:33 ½s¿è

¦b¼Ò²Õ°Ï³]¤@­Ó¦@¥ÎÅܼÆ//
Public PP%

ªí³æ¨Æ¥ó°Ï//
Private Sub UserForm_Initialize()
PP = 1
End Sub

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
PP = 0
End Sub

========================
¬¡­¶Ã¯¨Æ¥ó//
Private Sub Workbook_WindowActivate(ByVal Wn As Window)
If PP = 1 Then UserForm1.Show 0
End Sub

Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
If PP = 1 Then UserForm1.Hide
End Sub

TOP

¦^´_ 3# ­ã´£³¡ªL


    ÁÂÁ feecshyrnd«e½úµoªí¦¹¥DÃD
ÁÂÁ ­ã´£³¡ªL«e½ú«ü¾É
«á¾Ç¸Õ¤£¥X®ÄªG:
1.¶}±Òªþ¥óÀÉ®×,«ö«ö¶s©I¥s¥Xªí³æ«á°£¤F(«ö¨ú®øX)´N¤°»ò¨Æ³£¤£¯à°µ
2.¥i¯à¬O«á¾Ç­þ­ÓÂI»~¸Ñ¤F
½Ð«e½ú¦A«üÂI!ÁÂÁÂ

°õ¦æµe­±:


Test_20221209_2.zip (11.82 KB)
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2022-12-9 16:48 ½s¿è

¦^´_ 4# Andy2483


Sub rrr()
UserForm1.Show 0  '­n¥[0---§_«hµLªk¿ï¨ú¥ô¦óµøµ¡
End Sub


±Ò°Êªí³æ«á, ¦A¿ï¨ú¨ä¥¦¤w¶}±ÒªºÀɮ׸ոÕ!!!

======================
¥t¥~, ¦pªGªí³æ¤£¥u¤@­Ó, ¥i¥ÎPP½á­È, ¥h¨M©w­þ­Óªí³æ
Test_20221209_2.rar (12.9 KB)

TOP

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2022-12-12 07:45 ½s¿è

¦^´_ 5# ­ã´£³¡ªL


    ÁÂÁ«e½ú«ü¾É
À´¤F








¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ¤£­n¤p¬Ý¦Û¤v¡A¦]¬°¤H¦³µL­­ªº¥i¯à¡C
ªð¦^¦Cªí ¤W¤@¥DÃD