ÓÑÇéÌáʾ£ºÈç¹û±¾ÍøÒ³´ò¿ªÌ«Âý»òÏÔʾ²»ÍêÕû£¬Çë³¢ÊÔÊó±êÓÒ¼ü¡°Ë¢Ð¡±±¾ÍøÒ³£¡ÔĶÁ¹ý³Ì·¢ÏÖÈκδíÎóÇë¸æËßÎÒÃÇ£¬Ð»Ð»£¡£¡ ±¨¸æ´íÎó
¹·¹·Êé¼® ·µ»Ø±¾ÊéĿ¼ ÎÒµÄÊé¼Ü ÎÒµÄÊéÇ© TXTÈ«±¾ÏÂÔØ ½øÈëÊé°É ¼ÓÈëÊéÇ©

Excel word ppt officeʹÓü¼ÇÉ´óÈ«(DOC¸ñʽ)-µÚ116ÕÂ

°´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·­Ò³£¬°´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ£¬°´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿£¡
¡ª¡ª¡ª¡ªÎ´ÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡






Ò»·Ý¹¤×÷±í£¬Óм¸ÍòÐÐÊý¾Ý£¬ÏÖÔÚÏëÿ¸ô¡¡50¡¡ÐдòÓ¡Ò»ÐУ¬ÈçºÎ½øÐÐɸѡ¡¡¡¡

½â´ð£º²åÈëÒ»¿ÕÁУ»ÊäÈë=MOD£¨ROW£¨£©£»50£©²¢¸´ÖƵ½È«Êý¾ÝÁУ»ÔÙÓÃɸѡ·¨°ÑÓС°0¡¡¡±µÄµ¥Ôª¸ñÑ¡¡¡

³ö¡£¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Word¡¡¼ÓÆô¶¯ÃÜÂë¡¡¡¡¡¡



ÔÚ¡¡Word¡¡Ä£°åÖмÖÆÈçϺêÎļþ±£´æ¼´¿É£º¡¡¡¡¡¡¡¡

Sub¡¡autoexec£¨£©¡¡¡¡¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡376¡¡¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡377¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡



Dim¡¡user¡¡¡¡¡¡¡¡

user¡¡=¡¡InputBox£¨¡¨ÇëÊäÈëÈí¼þÆô¶¯ÃÜÂ롨£©¡¡¡¡¡¡¡¡

If¡¡user¡¡=¡¡¡¨password¡¨¡¡Then¡¡¡¡¡¡¡¡

Else¡¡¡¡¡¡¡¡

MsgBox¡¡£¨¡¨·Ç·¨Óû§£»½«Í˳ö±¾³ÌÐò¡£Wu¡¨£©¡¡¡¡¡¡¡¡

Application¡£Quit¡¡¡¡¡¡¡¡

End¡¡If¡¡¡¡¡¡¡¡

End¡¡Sub¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÓйشóСдµÄת»»¡¡¡¡



ÔÚ¡¡EXCEL¡¡µ¥Ôª¸ñÖÐÓеĵ¥Ôª¸ñÊÇСд×Öĸ£¬ÓеÄÊÇ´óСд»ìÔÚÒ»ÆðÏÖÔÚÎÒÏëÈ«²¿×ªÎª´óд¡¢¡¡

»òÈ«²¿×ªÎªÐ¡Ð´£¬ÓÐÄÄЩ·½·¨ÄØ£¿¡¡¡¡

ÀûÓá¡upper£¨£©¡¡º¯Êý»ò»¹ÓС¡LOWER¡¡¡£È磺a1=aBcD£¬upper£¨a1£©=ABCD¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÔÚ¡¡Excel¡¡ÖдòÔì×Ô¼ºµÄ¡°¹«Ê½±£»¤¡±²Ëµ¥¡¡¡¡



¹¤×÷Öо­³£Óõ½¡¡Excel¡¡µÄ¼ÆË㹦ÄÜ£¬ÓÐʱһÕŹ¤×÷±íÖÐÐèÒªÉèÖúܶ๫ʽ£¬ÎªÁË·ÀÖ¹Îó²Ù×÷¾Í¡¡

½«¹¤×÷±í±£»¤ÆðÀ´£¬µ«ÊÇÈç¹û½«º¬Óй«Ê½µÄµ¥Ôª¸ñ±£»¤£¬¶øÆäËüµ¥Ôª¸ñ²»Ëø¶¨£¬ÉèÖÃʱÐèÒªÒ»¡¡

¸ö¸öµ¥Ôª¸ñÑ¡¶¨£¬ºÜÂé·³¶øÇÒÈÝÒ׳ö´í£¬¾ÍÏëµ½½¨Á¢Ò»¸ö²Ëµ¥Ï½«ÕâÏ×÷±ä³É²Ëµ¥¡¡¡£ÓС¡

ÐÒµÄÊÇÕâÒ»ÇС¡Excel¡¡¶¼ÄÜÍê³É£¬¾ßÌå²Ù×÷ÈçÏ£º¡¡¡¡¡¡

ÏȽ«¹¤×÷±í±£»¤£¬²»±ØÊäÈëÃÜÂë¡£¡¡¡¡

ÔÙ¼ÖÆÒ»¸öºê¡£·½·¨ÊÇ£º´ò¿ª¡°¹¤¾ß¡±À¸£¬µ¥»÷¡°ºê¡±¡°Â¼ÖÆкꡱ£»½«ÆäÃüÃûΪ¡°¹«Ê½±£¡¡

»¤¡±£¬µ¥»÷¡°±£´æÔÚ¡±µÄÏÂÀ­¼ýÍ·£¬½«Ðº걣´æµ½¡°¸öÈ˺깤×÷²¾¡±¡£µ¥»÷¡°È·¶¨¡±Â¼ÖÆ¿ªÊ¼¡£¡¡

¡¡£¨×¢Òâ´ËºóµÄÿһ¶¯×÷¶¼½«±»Â¼ÖÆ£¬Ö±ÖÁ¡°Í£Ö¹Â¼ÖÆ¡±¡££©¡¡¡¡¡¡

1¡£¡¡¡¡¡¡¡¡¡¡½«¹¤×÷±íÈ¡Ïû±£»¤£»¡¡¡¡¡¡

2¡£¡¡¡¡¡¡¡¡¡¡Ñ¡¶¨¡¡a1¡¡µ¥Ôª¸ñ£¬ÊäÈë=¡¨²âÊÔ¡¨¡¡£¨×¢£ººÚÌåΪʵ¼ÊÊäÈëÄÚÈÝ£¬±êµã·ûºÅ¾ùΪӢÎÄÊäÈë·¨¡¡

¡¡¡¡¡¡×´Ì¬£»ÏÂͬ£©£»¡¡¡¡

3¡£¡¡¡¡¡¡¡¡¡¡µ¥»÷¹¤×÷±í×óÉϽǵķ½¿òÑ¡¶¨Õû¸ö¹¤×÷±í£»¡¡¡¡

4¡£¡¡¡¡¡¡¡¡¡¡µ¥»÷¡°¸ñʽ¡±¡°µ¥Ôª¸ñ¡±¡°±£»¤¡±Ï½«¡°Ëø¶¨¡±ºÍ¡°Òþ²Ø¡±Ç°µÄ·½¿òÀïµÄ¶ÔºÅÈ¥¡¡

¡¡¡¡¡¡µô£»¡¡¡¡

5¡£¡¡¡¡¡¡¡¡¡¡µ¥»÷¡°²åÈ롱¡°Ãû³Æ¡±¡°¶¨Ò塱£¬µ±Ç°¹¤×÷±íÃû³ÆÊäÈ룺¹«Ê½±£»¤£¬ÒýÓÃλÖÃÊäÈ룺¡¡

¡¡¡¡¡¡=get¡£cell£¨4£»indirect£¨¡¨rc¡¨£»false£©£©£»¡¡µ¥»÷¡°Ìí¼Ó¡±ºó¡°È·¶¨¡±£»¡¡¡¡¡¡

6¡£¡¡¡¡¡¡¡¡¡¡µ¥»÷¡°¸ñʽ¡±¡°Ìõ¼þ¸ñʽ¡±£¬ÔÚ¡°µ¥Ôª¸ñÊýÖµ¡±ÏÂÀ­¿òÑ¡¶¨¡°¹«Ê½¡±£¬ºóÃæµÄ¿òÄÚ¡¡

¡¡¡¡¡¡ÊäÈë=¹«Ê½±£»¤¡¡£¬µ¥»÷¡°¸ñʽ¡¨¡±£¬ÔÚͼ°¸±êÇ©ÄÚѡdzÂÌÉ«»òÕßÆäËüÑÕÉ«¡°È·¶¨¡±£¬ÔÙ¡°È·¡¡

¡¡¡¡¡¡¶¨¡±£»¡¡¡¡

7¡£¡¡¡¡¡¡¡¡¡¡µ¥»÷¡¡¡¡¡°±à¼­¡±¡°¶¨Î»¡±¡°¶¨Î»Ìõ¼þ¡¨¡±£¬Ñ¡¶¨¡°¹«Ê½¡±Ïî¡°È·¶¨¡±ÔÙ¡°È·¶¨¡±£»¡¡¡¡

8¡£¡¡¡¡¡¡¡¡¡¡Öظ´²½Öè¡¡4£¬½«¡°Ëø¶¨¡±ºÍ¡°Òþ²Ø¡±Ç°µÄ·½¿òÀïµÄ¶ÔºÅÑ¡¶¨£»¡¡¡¡¡¡

9¡£¡¡¡¡¡¡¡¡¡¡Ñ¡¶¨¡¡a1¡¡µ¥Ôª¸ñ£¬È¡ÏûÆäÄÚÈÝ£¬²¢Öظ´²½Öè¡¡4£¬È¡Ïû¡¡a1¡¡µÄËø¶¨ºÍÒþ²ØÊôÐÔ£»¡¡¡¡¡¡

10¡£¡¡¡¡¡¡¡¡µ¥»÷¹¤¾ß¡­±£»¤¡­±£»¤¹¤×÷±í£¬½«¹¤×÷±í±£»¤£¨Ò²²»±ØÉèÃÜÂ룩¡£ÔÙµ¥»÷¡°¹¤¾ß¡±¡°ºê¡±¡¡

¡¡¡¡¡¡¡°Í£Ö¹Â¼ÖÆ¡±Í£Ö¹Â¼ÖÆ¡£ÔÙ´ò¿ª¡°¹¤¾ß¡±¡°×Ô¶¨Ò塱ÏÔÙ¡°ÃüÁ±êÇ©À¸ÄÚ¡°Àà±ð¡±¡¡

¡¡¡¡¡¡À¸ÖÐÕÒµ½¡°Ð²˵¥¡±²¢Ö¸¶¨£¬ÔÚÆäÓÒ²àµÄÃüÁî¿òÖеÄв˵¥ÓÃÊó±ê°´×¡Íϵ½¡°¹¤¾ßÀ¸¡±µÄ¡¡

¡¡¡¡¡¡¡°±£»¤¡±ÏîÖеġ°±£»¤¹¤×÷±í¡±ÏÂÃæ·Å¿ª£¬²¢µ¥»÷ÓÒ¼ü½«ÆäÃüÃûΪ¡°¹«Ê½±£»¤¡±£¬½«¸Õ²Å¡¡

¡¡¡¡¡¡Â¼ÖÆÃûΪ¡°¹«Ê½±£»¤¡°µÄºêÖ¸¶¨¸øËü¡£ÖÁ´Ë£¬Ò»¸öºÜÓÐÓõIJ˵¥Ïî¾Í×÷³ÉÁË¡£¡¡´Ëºó£¬Ö»Òª¡¡

¡¡¡¡¡¡Ä㽫Êó±êÒƶ¯µ½¡°¹¤¾ß¡±¡°±£»¤¡±¡°¹«Ê½±£»¤¡±µÄλÖ㬹¤×÷±í½«Ö´ÐÐÆäËùÖ¸¶¨µÄºê£¬¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡377¡¡¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡378¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡



¡¡¡¡¡¡¡¡Ö»ÒªÄ㹤×÷±íÖÐÊäÈëÁ˹«Ê½£¨ÒÔ=¿ªÍ·£©£¬º¬Óй«Ê½µÄµ¥Ôª¸ñ½«×Ô¶¯±äΪdzÂÌÉ«£¬ÌáÐÑÄãºÍ¡¡

¡¡¡¡¡¡¡¡±ðÈË´Ë´¦Óй«Ê½£¬Ð¡Ðı༭£¬Ê®·ÖÐÑÄ¿¡£±à¼­Í깫ʽºóÔÙ´ÎÔËÐиÃÃüÁî¾Í¿ÉÒԴ˱£»¤¹¤×÷¡¡

¡¡¡¡¡¡¡¡±í²¢Ëø¶¨¹«Ê½£¬½ûÖ¹¸Ä¶¯¡£¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÈçºÎÈá¡EXCEL¡¡×Ô¶¯´Óͷͳ¼Æµ½µ±Ç°µ¥Ôª¸ñ¡¡¡¡



Çé¿öÈçÏ£º¡¡¡¡C¡¡ÁÐÒª¸ù¾Ý¡¡A¡¡ÁеÄÄÚÈÝÀ´Í³¼Æ¡¡B¡¡ÁеÄÊý¾Ý£¬·¶Î§´Ó¡¡A1¡¡£ºAn¡¡£¬¼´µ±A¡¡ÁÐÖС¡An¡¡ÓС¡

Êý¾Ýʱ£¬Cn¡¡¡¡×Ô¶¯¸ù¾ÝAn¡¡µÄÖµ£¬Í³¼ÆB1¡¡£ºBn¡¡µÄÊý¾Ý¡£¡¡¡¡



½â´ð£º=SUM£¨INDIRECT£¨¡¨B1£ºB¡¨¡¡¡¡&¡¡¡¡LARGE£¨£¨A1£ºA65535¡¨¡¨£©*£¨ROW£¨A1£ºA65535£©£©£»1£©£©£©¡¡£¬°´¡¡Ct¡¡

rl£«Shift£«Enter¡¡¡£¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÇëÎÊÏëҪȡµ±Ç°µ¥Ôª¸ñµÄÁкţ¬ÓÃʲôº¯Êý¡¡¡¡



1¡¢=CHAR£¨64£«COLUMN£¨£©£©¡¡¡¡



2¡¡¡¢Private¡¡¡¡Sub¡¡¡¡Worksheet_SelectionChange£¨ByVal¡¡¡¡Target¡¡¡¡As¡¡¡¡Excel¡£Range£©¡¡¡¡



If¡¡¡¡Selection¡£Columns¡£Column¡¡¡¡¡·¡¡¡¡26¡¡¡¡Then¡¡¡¡



tt¡¡¡¡=¡¡¡¡Mid£¨ActiveCell¡£Address£»¡¡¡¡2£»¡¡¡¡2£©¡¡¡¡



Else¡¡¡¡



tt¡¡¡¡=¡¡¡¡Mid£¨ActiveCell¡£Address£»¡¡¡¡2£»¡¡¡¡1£©¡¡¡¡



End¡¡¡¡If¡¡¡¡



MsgBox¡¡¡¡£¨tt£©¡¡¡¡



End¡¡¡¡Sub¡¡¡¡



3¡¢1¡¡µÄ¹«Ê½¾Í±ä»¯Ò»Ï£º=IF£¨COLUMN£¨£©¡·26£»CHAR£¨64£«INT£¨COLUMN£¨£©/26£©£©¡¡¡¡&¡¡¡¡CHAR£¨64£«¡¡

MOD£¨COLUMN£¨£©£»26£©£©£»CHAR£¨64£«COLUMN£¨£©£©£©¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡SUMIF¡¡º¯Êý¡¡¡¡



a1¡¡ÖÁ¡¡A4¡¡ÊÇ¡¡10£»24£»30£»12¡£B1¡¡ÖÁ¡¡B4¡¡ÊÇ¡¡8£»15£»25£»35¡£D1¡¡ÖÁ¡¡D4¡¡ÊÇ¡¡25£»4£»3£»5¡£Óá¡SUMIF¡¡¡¡µÚÒ»²ÎÊýÑ¡È¡¡¡A¡¡

1£ºB4£»µÚ¶þ²ÎÊýÊÇ¡·20£»µÚÈý²ÎÊýÑ¡È¡¡¡D1£ºD4¡£ËüµÃ³öÊÇ¡¡7¡¡¡£ËüÅжϵÄÊÇA1£ºA4¡¡¡¡¡¡¡£ÎÒµÄÒªÇóÊÇ¡¡B1£º¡¡

B4¡¡¡¡Ò²¸ú×ÅÅжϡ¡¡¡£»¡¡¡¡Ò²¾ÍÒªµÃ³öÀ´µÃÊÇ¡¡12¡¡¡¡



½â´ð£º£û=SUM£¨£¨A1£ºA4¡·20£©*£¨B1£ºB4¡·20£©*C1£ºC4£©£ý¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡378¡¡¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡379¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÔõôÄÜ¿ìËٵĽ«Á½¸öµ¥Ôª¸ñµÄÄÚÈÝ»¥»»¡¡¡¡



1¡¢¡¡¡¡

Sub¡¡ChangVal£¨£©¡¡¡¡

my1value¡¡=¡¡ActiveCell¡£Value¡¡¡¡

For¡¡Each¡¡a¡¡In¡¡Selection¡¡¡¡

If¡¡a¡£Address¡¡¡¡ActiveCell¡£Address¡¡Then¡¡¡¡

my2value¡¡=¡¡a¡£Value¡¡¡¡

a¡£Value¡¡=¡¡my1value¡¡¡¡

ActiveCell¡£Value¡¡=¡¡my2value¡¡¡¡

End¡¡If¡¡¡¡

Next¡¡a¡¡¡¡

End¡¡Sub¡¡¡¡

2¡¡¡¢ÓÃÊó±êÏÈÑ¡¶¨µ¥Ôª¸ñ£¬µãסµ¥Ôª¸ñ±ß¿ò£¬²¢°´×¡¡¡SHIFT¡¡¼ü£¬È»ºóÍÐקµ½¸ô±Úµ¥Ôª¸ñµÄºóÃæ¡¡

Ò»Ìõ±ß¿ò´¦¡£ÄãÄÜ¿´µ½±»ÍÐק²¿·Ö»á±ä³É»ÒÉ«µÄ¡°¹¤¡±×ÖÐΣ¬È»ºó·ÅÊֺ󣬵¥Ôª¸ñ¾Í»¥»»ÁË¡£¡¡¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÈçºÎÄܵ½Á½¸öʱ¼ä¶ÎµÄ¡¡17£º00¡­8£º00¡¡Ð¡Ê±Êý£¿¡¡¡¡¡¡



1¡£ÒÑÖª¡¨E4¡¨Îª¡¡08011500£¨ÎªÎı¾¸ñʽ©o¿ªÊ¼Ê±¼ä©oÒâ˼Ϊ¡¡8¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ô¡¡1¡¡¡¡¡¡ÈÕ¡¡¡¡ÏÂÎç¡¡15¡¡©s00£©¡¡¡¡©o¡¨G4¡¨Îª¡¡

08100900£¨ÎªÎı¾¸ñʽ©o½áÊøʱ¼ä©oÒâ˼Ϊ¡¡8¡¡Ô¡¡10¡¡¡¡ÈÕ¡¡¡¡ÉÏÎç¡¡9¡¡µã£©¡¡¡¡¡¡ÎÊ©sÈçºÎÄܵõ½¿ªÊ¼Ê±¼äµ½¡¡

½áÊøʱ¼ä£¨17£º00¡­08£º00¡¡£©µÄ×ÜСʱÊý£¿¡¡¡¡¡¡¡¡

2¡£¡¡¡¡ÈçºÎµÃµ½¿ªÊ¼Ê±¼äµ½½áÊøʱ¼äµÄ½Ú¼ÙÈÕʱÊý£¿£¨Èç¡¡5¡£1¡¡¡¡©o10¡£1¡¡©oÐÇÆÚÁù©oÐÇÆÚÌ죩¡¡¡¡

¡¡¡¡¡¡¡¡¡¡½â´ð£º·½·¨¡¡1£º¡¡

=£¨DATE£¨YEAR£¨NOW£¨£©£©£»MIDB£¨AF4£»1£»2£©£»MIDB£¨AF4£»3£»2£©£©¡­DATE£¨YEAR£¨NOW£¨£©£©£»MIDB£¨E4£»1£»2£©£»MI¡¡

DB£¨E4£»3£»2£©£©¡­1£©*15£«IF£¨MIDB£¨E4£»5£»2£©£«MIDB£¨E4£»7£»2£©/60=17£»24£¨MIDB£¨E4£»5£»2£©£«MIDB£¨E4£»7£»2£©/60£©£»7£©£©¡¡

£«IF£¨MIDB£¨AF4£»5£»2£©£«MIDB£¨AF4£»7£»2£©/60=17£»MIDB£¨AF4£»5£»2£©£«MIDB£¨AF4£»7£»2£©/60¡­9£»8£©£©¡¡¡¡¡¡

·½·¨¡¡2¡¡£ºnetworkdays¡¡ÐèÒªÄãÌṩһ¸ö½Ú¼ÙÈÕÁ
·µ»ØĿ¼ ÉÏÒ»Ò³ ÏÂÒ»Ò³ »Øµ½¶¥²¿ ÔÞ£¨0£© ²È£¨0£©
δÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡
ÎÂÜ°Ìáʾ£º ο´Ð¡ËµµÄͬʱ·¢±íÆÀÂÛ£¬Ëµ³ö×Ô¼ºµÄ¿´·¨ºÍÆäËüС»ï°éÃÇ·ÖÏíÒ²²»´íŶ£¡·¢±íÊéÆÀ»¹¿ÉÒÔ»ñµÃ»ý·ÖºÍ¾­Ñé½±Àø£¬ÈÏÕæдԭ´´ÊéÆÀ ±»²ÉÄÉΪ¾«ÆÀ¿ÉÒÔ»ñµÃ´óÁ¿½ð±Ò¡¢»ý·ÖºÍ¾­Ñé½±ÀøŶ£¡