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

[µo°Ý] ·j´M¡B¤ñ¹ï¡A¦A½Æ»s¹L¨Óªº¥\¯à

[µo°Ý] ·j´M¡B¤ñ¹ï¡A¦A½Æ»s¹L¨Óªº¥\¯à

¤j®a¦n¡A§Ú¦³¤@­Ó¥\¯à·Q°µ¡A¦ý¬O·j´M¤ñ¹ï§Ú¤£·|¼g


§Ú·|¦P®É¶}¤T­ÓÀÉ®×
¤@­Ó¬O´ú¸ÕÀÉ¡A¸Ì­±¦³«ö¶s¡A³oÃä¤]·|¦C¥X©Ò­nªº·Ç«h

²Ä¤G­Ó¬O¸ê®ÆÀÉ
²Ä¤T­Ó¬O¤Ø¤oÀÉ
¦@¦PÂI¬O¾Ç¸¹
¦³ÂI¹³ACCESSªº¥DÁä

´ú¸ÕÀɤ¤ ·|µ¹  ©Ò»Ý­nªº¾Ç¸¹   ¸ò³o­Ó¾Ç¸¹©Ò­n¬d¥X¨Óªº¸ê°T
µM«á«ö¶s«ö¤U«á  µ{¦¡¥i¥H¥h·j´M¤ñ¹ï  §â­nªº¸ê®Æ¶ñ¶i¨Ó´ú¸ÕÀɤ¤


¦]¬°¦P®É¶}¦n¤T­ÓÀÉ
©Ò¥Hª½±µ©I¥s¬O¥i¥H¨ú±o¸ê®Æªº

¦ý¬O·j´M¤ñ¹ï¡A§Ú´N¤£·|¤F
¦A½Ð¦U¦ì¤j¤jÀ°¦£¡AÁÂÁÂ

EXCEL°ÝÃD.rar (30.49 KB)
«¢Åo~¤j®a¦n§r

¦^´_ 23# n7822123


§Ú¤]¦A´£¨Ñ¤èªk~~³o¨â­Ó¨ä¹ê¬O¤@¼Ëªº¡A¥Îªº¨ç¼Æ¤£¦P

MsgBox Format(Year(Date) & "/" & Month(Date) + 1, "emm") & "ÀÉ®×"
MsgBox Format(Year(Date) & "/" & DatePart("m", Date) + 1, "emm") & "ÀÉ®×"
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

¥»©«³Ì«á¥Ñ n7822123 ©ó 2019-6-21 01:19 ½s¿è

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


·PÁ·Ǥj´£¨Ñ¦n¦h¤èªk¡A¨ü¯q­ê²L ^.^¡Aºâªº§Ú²´ªá¼º¶Ã¤FXD
Edate¨ç¼Æ·Pı¥i¥H§¹¥þ³QDateAdd©Ò¨ú¥N¡A¥u¯à¥Î¤ë·í¶¡¹j¡A¼u©Ê¦³­­

MsgBox Format(Application.EDate(Date, 1), "emm") & "ÀÉ®×"
MsgBox Format(DateAdd("m", 1, Date), "emm") & "ÀÉ®×"


¦¬Ã¬³Ì¦hªº¬OEvaluate¨ç¼Æ¡A¤§«e¨S¥Î¹L³o­Ó¨ç¼Æ!
ı±o«D±`¦n¥Î¡A¦Û¤v¸Õª±¤F¤@¤U ^.^
·Pı¤W¥u­n¬O¤u§@ªí¨ç¼Æ³£¥i¥H­pºâ
ÁöµM§Ú¤w¸g²ßºD¥Î Application.¤u§@ªí¨ç¼Æ ©ÎªÌ WorksheetFunction.¤u§@ªí¨ç¼Æ
¦ý¬O³o­Ó¨ç¼Æªº»ù­È¦b©ó¡A¥i¥Hª½±µ§â¦r¦êª½±µ°µ¹Bºâ¡A¤£»Ý­nÃB¥~¸Ñ¦r¦ê¨Ó³B²z¡A¬Ù¤U¤j¶qµ{¦¡!

MsgBox Evaluate("3+2") '=5
MsgBox Evaluate("max(" & "20,30,40,99)")  '³Ì¤j­È99
MsgBox Evaluate("SIN(30*PI()/180)")  'Sin 30«×=0.5
MsgBox Evaluate("DEC2HEX(253)")  '253ªº16¶i¦ìªí¥Ü=FD


¦ý¬OVBA¨ç¼Æ´N¤£¯à¤F~~~~~¥i±¤
MsgBox Evaluate("Hex(253)")  '¿ù»~

¤µ¤Ñ·Ç¤j·Pı¤ß±¡«Ü¦n¡A¥f°_¨Ó´£¨ÑNºØ¤èªkXD
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

¦A¨Ó¨âºØ¤èªk:
Private Sub CommandButton2_Click()
ym$ = Format(Date - Day(Date) + 32, "EMM") & "ÀÉ®×"
MsgBox ym
End Sub


Private Sub CommandButton2_Click()
ym$ = Format(DateAdd("m", 1, Date), "EMM") & "ÀÉ®×"
MsgBox ym
End Sub


===========================

TOP

¦^´_ 15# n7822123

Private Sub CommandButton2_Click()
d = CDate(Format(Now, "yyyy/m/1")) + 31
ym$ = Format(d, "emm") & "ÀÉ®×"
MsgBox ym
End Sub

TOP

¦^´_ 15# n7822123


Private Sub CommandButton2_Click()
d& = Evaluate("edate(" & CLng(Date) & ", 1)")
ym$ = Format(d, "emm") & "ÀÉ®×"
MsgBox ym
End Sub

TOP

¦^´_ 13# iceandy6150

Private Sub CommandButton1_Click()
c$ = Replace(Replace(Range("A1"), "¦~", ":"), "¤ë", "")
If IsNumeric(c) Then c = "0:" & c
c = Application.Text(c, "[hh]¦~mm¤ë")
Range("B1") = c
End Sub

======================

TOP

¦^´_ 16# n7822123


    ·PÁ¤j¤jªº¦^ÂÐ
¦]¬°§Ú¤â¤W®³¨ìªº¸ê®Æ¨Ã¨S¦³¨ì¾¤é
¤£µM·Ó¤j¤j³o¼Ë¼g¡A¬O«Ü¤è«K
³o¨Ç¼gªk§Ú³£·|¦sÀÉ
¥H«á­Y¦³¥Î¨ì¡A´N¥i¥H¬£¤W¥Î³õ
·PÁ·PÁÂ
«¢Åo~¤j®a¦n§r

TOP

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


    ¦~¸êªº½T¦³¥i¯à¥u¦³¤é ©Î ¦~+¤é  ©Î ¦~+¤ë ©Î¦~¤ë¤é³£¦³
¦ý¬O§Ú³B²zªº¸ê®Æ¡A¬O²Ä¤G¤â
¤]´N¬O¥u¦³­pºâ¨ì¤ë¦Ó¤w

§Ú®³¨ìªº¸ê®Æ­n¹À´N¬O 3¤ë¡B6¤ë¡B11¤ë³o¼Ë
©Î¬O1¦~1¤ë

©Ò¥H¥u³Ñ¤U¨âºØ  ¦~+¤ë  ¡B¥u¦³¤ë
¦ý¬O¦~¡A¤S¦³¤À¬°1¦ì¼Æªº¸ò2¦ì¼Æªº¡A¤ñ¦p3¦~ ¸ò 12¦~
¤ë¤]¬O¤À¬°1¦ì¼Æªº¸ò2¦ì¼Æªº¡A¤ñ¦p4¤ë ¸ò 11¤ë

©Ò¥H§Ú¥u¦n·Q¿ìªk¨Ó³B²z
¤ñ¦p»¡1¦~¥H¤ºªº¤H¡A¼úª÷µo3000¤¸
º¡1¦~6¤ëªºµo4500¤¸

§Ú´N¥ý§â¦UºØ¸ê®Æ¡AÂন00¦~00¤ë
¦A¥ÎMID¥h¨ú¡AVAL()Åܦ¨¥i­pºâªº¼Æ¦r¡AµM«á´N¥i¥H§PÂ_
½Ö¸Óµo3000¤¸¡A½Ö¸Óµo4500¤¸....¥H¦¹Ãþ±À

·PÁ¤j¤j¦^´_³á
«¢Åo~¤j®a¦n§r

TOP

¦^´_ 13# iceandy6150


   
¦pªGº¡¥b¦~´N«ç¼Ë«ç¼Ë---> ¥ýºâ¥X¦~¸ê´«ºâ¦¨¤ë¬O´X¤ë  º¡¥b¦~´N¬O¦~¸ê>=6
¦pªGº¡¤@¦~ --> ¦~¸ê>=12
¥Î³o¨Ç±ø¥ó¦A¨Ó°Ï¤À¦U¯Å¶Zªº¤H¸Ó¤U¤°»ò«ü¥O

°Ñ¦Ò¬Ý¬Ý

¤J¾¤é´Á = DateValue("6 / 4 / 2014")    '¦Û¤v³]©w¤J¾¤é´Á
¦~¸ê = Application.Text(Now - ¤J¾¤é´Á, "yy/mm")
MsgBox "±i¤T¦~¸ê¦@" & Split(¦~¸ê, "/")(0) * 12 + Split(¦~¸ê, "/")(1) & "­Ó¤ë"
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

        ÀR«ä¦Û¦b : Ä@­n¤j¡B§Ó­n°í¡B®ð­n¬X¡B¤ß­n²Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD