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

[µo°Ý] Excel§ì¨ú¦hµ§¸ê®Æ

¦^´_ 19# qaqa3296

"²§°Êªí±Æ§Ç"·|¤Ö³Ì«á¤@µ§¸ê®Æ¡A¸Ó¦p¦ó­×¥¿¡A§Ú¬Ý°j°é³£¦³¶]º¡¡A¦ý¬O·|¤Ö³Ì«á¤@µ§(¨S¦³¥ô¦ó³Æµù)

    ÁÂÁ«e½ú¤@°_¾Ç²ß,«Ýcowww¤W¶Ç·s±¡¹Ò½d¨Ò«á,«á¾Ç¦A¸Õ¸Ñ¬Ý¬Ý,©¡®É¦A¤@°_°Q½×¾Ç²ß
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 21# Andy2483

cowww¤j¤j¨S¦³¦A´£¨ÑÀɮסA©Ò¥H¥u¦n¥Ñ§Ú¥ýµo°Ý¤F

1.
§Ú¸ò¥L³£¬O¨Ï¥ÎAndy2483 16¼Óªºµ{¦¡½X¡A©Ò¥H¥L¥i¯à¤]¦³¬Û¦P°ÝÃD¡A¥u¬O¥L¨S¦³µo²{¡H·|¯Ê¤@­Óµù¸Ñ¨S¦³¦C¥X

§Úª½±µªþ¤W»¡©ú¹Ï¤ù


2.    ²Ä¤G­Ó°ÝÃD
Brr = Range([±M®×!D1], [±M®×!D65536].End(3))

³o¦æ¦pªG­n­×§ï¦¨¡Aµ{¦¡¦Û¤v§PÂ_¤µ¤Ñ¤é´Áªº¤ë¥÷¡A°²³]¬O"7¤ë"´N¥h§ä"7¤ë"ªº¤u§@ªí¡A¸Ó¦p¦ó­×§ï¡H
  
§Ú¬Oª½±µ

currentMonth = Format(Date, "m¤ë")
'    '¨ú¤µ¤Ñ¤ë¥÷¸ê®Æ

    Brr = Range(["[" currentMonth"]" !D1], ["[" currentMonth"]"!D65536].End(3))

§¹¥þ¤£µ¹¹L...©³¤U¤S¦³For i = 1 To UBound(Brr)°j°é¡A¥\¤O¤£°÷·Q¤£¥X¨Ó¦p¦ó­×§ï¡A§Æ±æ¦³¤H¥i¥HÀ°¦£¸Ñµª

ªþ¤W´ú¸ÕÀÉ®×¥Ñcowww´£¨ÑªºÀÉ®×+Andy2483 16¼Óªºµ{¦¡½X­×§ï
TEST.zip (418.45 KB)

TOP

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2023-7-8 09:21 ½s¿è

¦^´_ 22# qaqa3296


    ÁÂÁ«e½ú
¨Ï¥Î16¼Óªºµ{¦¡½X¡A·|¯Ê¤@­Óµù¸Ñ¨S¦³¦C¥X!!

½Ð±N Brr = Range(Sh.[E1], Sh.[A65536].End(3))
§ï¬°Brr = Range(Sh.[E1], Sh.[A65536].End(3)(2))

½Ð±N Brr = Range([²§°Êªí±Æ§Ç!E1], [²§°Êªí±Æ§Ç!A65536].End(3))
§ï¬° Brr = Range([²§°Êªí±Æ§Ç!E1], [²§°Êªí±Æ§Ç!A65536].End(3)(2))

³o¬Oªì¾ÇªÌ¤~·|¥Çªº¿ù,«á¾Ç¨S¦³°µ¨ìÆ[«eÅU«á
¦³³v¦C¤£¦P­È¤ñ¸û®É¤@©w­n¦Ò¼{¨ì³Ì«á¦³®Ä¦C¨S¦³»P¤U¤@¦C§@¤ñ¸û
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2023-7-8 10:05 ½s¿è

¦^´_ 22# qaqa3296

ÁÂÁ«e½ú
2.²Ä¤G­Ó°ÝÃD
Brr = Range([±M®×!D1], [±M®×!D65536].End(3))
³o¦æ¦pªG­n­×§ï¦¨¡Aµ{¦¡¦Û¤v§PÂ_¤µ¤Ñ¤é´Áªº¤ë¥÷¡A°²³]¬O"7¤ë"´N¥h§ä"7¤ë"ªº¤u§@ªí¡A¸Ó¦p¦ó­×§ï¡H
«á¾Ç«Øij¦p¤U:
Application.Goto Sheets(Format(Date, "m¤ë")).[A1]
Brr = Range([D1], [D65536].End(3))

³o¬OÀx¦s®æ´å¼Ð¸õ¨ì ¤µ¤Ñ¤ë¥÷¤u§@ªí, ¦A®Ø¦C·í¤U¤u§@ªíªºÀx¦s®æ¨ìBrr°}¦Cªº¤èªk
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¨Ï¥Î[°}¦C]°µ¤W/¤U¦æ¤ñ¹ï,
¸ê®Æ½d³ò¶·¦h¥[¤@¦æ,
¦ý°j°é­n´î¤@, for i=2 to ubound(arr) - 1, ¤£µM·|¸õ¥X¿ù»~

­Y¨Ï¥Îrange«hµL¦¹°ÝÃD!!!

TOP

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


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

TOP

¦^´_ 20# Andy2483

¯u¬O©êºp
¤W§«ô®a¸Ì¦³¨Æ±¡¡A©Ò¥H³£¥u¤W¥b¤Ñ¯Z
¥Ñ©ó¨C­Ó³æ¦ì¨Ï¥Îªº¾÷¥x¸¹½X¼Ë¦¡³£¤£¤@¼Ë¡A³Ì«á²Î¤@¿ï¾Ü¨Ï¥ÎAÄæ¦ìªº¾÷¥x¸¹½X¼Ë¦¡
¾÷¥x¸¹½X.PNG

·sªºÀÉ®×
±á·|³øªí.zip (231.29 KB)

TOP

¦^´_ 22# qaqa3296


    qaqa3296«e½úªº½d¨Ò¸Ì¦³«Ü¸Ô²Óªº¤ß±oµù¸Ñ,¶Ô¾Çªºµ{«×¤£¿éAndy,ÁܽЫe½ú¬ã¨s27¼Ó½d¨Ò±¡¹Ò,»P cowww«e½ú¬ã°Q¸Ñ¨M¤è®×
«á¾Ç¦³ÂI¨Æ­n¦£
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¥»©«³Ì«á¥Ñ qaqa3296 ©ó 2023-7-8 22:55 ½s¿è

¦^´_ 27# cowww

©êºp"²§°Êªí±Æ§Ç"¤å¥ó792¦æ¦³"#VALUE"ªº¿ù»~°T®§¡A¥\¤O¤£¨¬µLªk±Æ°£¿ù»~¡A¾É­Pµ{¦¡·|¥d¦í¡A©Ò¥H§Ú¤â°Ê§R°£¤F¨º¦æ

·sªºÀɮ׬ݹL¤§«á¡A³£¬OÄæ¦ì§ïÅÜ¡A©Ò¥H­×¥¿¤@¨Ç¦ì¸m½d³ò¡A¨Ã­×¥¿¤F³Ì«á¤@µ§¤£Åã¥Ü°ÝÃD¡A¬Ý¬Ý¬O¤£¬O§A·Q­nªºÅã¥Ü®ÄªG

¦Ü©ó§Aªº²§°Êªí±Æ§Ç¤å¥ó¦h¤FB¡BCÄæ¡A¤£ª¾¥Î³~¡A©Ò¥H²¤¹L¤F

­è­èµo²{§Ú¦b§ï½d³ò®É¡A³Æµù¨S¦³­×§ï¡A©Ò¥H¸òµ{¦¡ªº¹ê»Ú½d³ò¦³¨Ç¤£¦P¡A¦p»Ý¬Ý³Æµù¾Ç²ß®É¡A½Ð¦Û¦æ­×§ï³Æµù½d³ò

ªþ¤WÀÉ®×

±á·|³øªí.zip (257.47 KB)

TOP

¥»©«³Ì«á¥Ñ qaqa3296 ©ó 2023-7-9 09:11 ½s¿è

¦^´_ 27# cowww

¬ðµM·Q¨ì¹J¨ì¿ù»~´N¥[­Ó¸õ¹L¿ù»~´N¦n

On Error Resume Next

ªþ¤W¥[¤W²¤¹L¿ù»~«áªºÀÉ®×

±á·|³øªí.zip (257.18 KB)

TOP

        ÀR«ä¦Û¦b : §ïÅܦۤv¬O¦Û±Ï¡A¼vÅT§O¤H¬O±Ï¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD