ÓÑÇéÌáʾ£ºÈç¹û±¾ÍøÒ³´ò¿ªÌ«Âý»òÏÔʾ²»ÍêÕû£¬Çë³¢ÊÔÊó±êÓÒ¼ü¡°Ë¢Ð¡±±¾ÍøÒ³£¡
Excel word ppt officeʹÓü¼ÇÉ´óÈ«(DOC¸ñʽ)-µÚ3²¿·Ö
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿! Èç¹û±¾ÊéûÓÐÔĶÁÍ꣬ÏëÏ´μÌÐø½Ó×ÅÔĶÁ£¬¿ÉʹÓÃÉÏ·½ "Êղص½ÎÒµÄä¯ÀÀÆ÷" ¹¦ÄÜ ºÍ "¼ÓÈëÊéÇ©" ¹¦ÄÜ£¡
End¡¡If¡¡End¡¡Sub¡¡55¡¢ActiveSheet¡£Unprotect¡¡'³·Ïúµ±Ç°¹¤×÷±í±£»¤¡¡If¡¡ActiveSheet¡£Name¡¡¡¡¡¡
¡¨Ö÷½çÃ桨¡¡And¡¡ActiveSheet¡£Name¡¡¡¡¡¨Ä¿Â¼Ë÷Òý¡¨¡¡And¡¡Target¡£Row¡¡¡·¡¡3¡¡Then¡¡'ÐбäÉ«¡¡On¡¡Error¡¡¡¡
Resume¡¡¡¡Next¡¡¡¡£§ChangColor_With£§¡£FormatConditions¡£Delete¡¡¡¡Target¡£EntireRow¡£Name¡¡¡¡=¡¡¡¡
¡¨ChangColor_With¡¨¡¡¡¡¡¡With¡¡¡¡¡¡¡¡£§ChangColor_With£§¡£FormatConditions¡¡¡¡¡¡¡£Delete¡¡¡¡¡¡¡£Add¡¡¡¡
xlExpression£»¡¡¡¡£»¡¡¡¡¡¨TRUE¡¨¡¡¡¡¡£Item£¨1£©¡£Interior¡£ColorIndex¡¡¡¡=¡¡¡¡4¡¡¡¡End¡¡¡¡With¡¡¡¡End¡¡¡¡If¡¡¡¡
ActiveSheet¡£Protect¡¡56¡¢ÔÚC1ÖÐŪ¸öÏÂÀÎÞ±í£»Êµ¼ÊÊÇÓÐЧÐÔ£»Äã¿ÉÒÔÑ¡ÔñA1£ºA4ΪC1µ¥Ôª¸ñ¡¡
ÓÐЧÐÔµÄÐòÁÐÊý¾ÝÔ´£»Èç¹û˵C1²»ÓëA1£ºA4ÔÚͬһ±í£»Ôò²»ÄÜÕâôÓã»Ó¦µ±ÏȶÔA1£ºA4ÃüÃû£»È»ºó¡¡
°ÑÊý¾ÝÔ´¸ÄΪÃû³Æ¡£¡¡57¡¢×Ô¶¯Ôö¼Ó¹¤×÷±í¡¡½øÈëºêÃüÁî±à¼´°¿Ú£¬ÔÚSub¡¡×Ô¶¯Ôö¼Ó¹¤×÷±í£¨£©Ãü¡¡
ÁîºóÒÀ´Î¼üÈëÈçϺêÃüÁîÄÚÈÝ£º¡¡Dim¡¡i&£»¡¡userinto¡¡i¡¡=¡¡0¡¡userinto¡¡=¡¡InputBox£¨¡¨ÊäÈë²åÈë¡¡
¹¤×÷±íÊýÁ¿£º¡¨£©¡¡If¡¡IsNumeric£¨userinto£©¡¡=¡¡True¡¡Then¡¡Do¡¡Until¡¡i¡¡=¡¡userinto¡¡Worksheets¡£Add¡¡¡¡
i¡¡=¡¡i¡¡£«¡¡1¡¡Loop¡¡End¡¡If¡¡End¡¡Sub¡¡58¡¢·½·¨Ò»£¨¹²Ïí¼¶Ëø¶¨£©£º¡¡1¡¢ÏȶÔEXCELÎļþ½øÐÐÒ»°ãµÄ¡¡
VBAProject¡¬¹¤³ÌÃÜÂë±£»¤¡£¡¡2¡¢´ò¿ªÒª±£»¤µÄÎļþ£¬Ñ¡Ôñ£º¹¤¾ß¡¡¡¡·±£»¤¡¡¡¡·±£»¤²¢¹²Ïí¹¤¡¡
×÷²¾¡¡¡¡·ÒÔ×·×ÙÐÞ¶©·½Ê½¹²Ïí¡¡¡·ÊäÈëÃÜÂë¡¡¡·±£´æÎļþ¡£¡¡Íê³Éºó£¬µ±Äã´ò¿ª¨DVBAProject¡¬¹¤¡¡
³ÌÊôÐÔʱ£¬¾Í½«»áÌáʾ£º¨D¹¤³Ì²»¿É¿´£¡¨D¡¡·½·¨¶þ£¨ÍƼö£¬ÆÆ»µÐÍËø¶¨£©£º¡¡ÓÃ16½øÖƱ༹¤¾ß£¬¡¡
ÈçWinHex¡¢Ultraedit¡32¡¡£¨¿Éµ½´ËÏÂÔØ£©µÈ£¬ÔÙÀúº¦µãµÄÈËÍêÈ«¿ÉÒÔÓÃdebugÃüÁîÀ´×ö¡£¡£¡£¡£¡£¡£¡¡
Óá¡¡¡¡¡ÒÔ¡¡¡¡¡¡ÉÏ¡¡¡¡¡¡Èí¡¡¡¡¡¡¼þ¡¡¡¡¡¡´ò¡¡¡¡¿ª¡¡¡¡EXCEL¡¡¡¡¡¡ÎÄ¡¡¡¡¡¡¼þ¡¡¡¡¡¡£¬¡¡¡¡¡¡²é¡¡¡¡¡¡ÕÒ¡¡¡¡¡¡¶¨¡¡¡¡¡¡Î»¡¡¡¡ÒÔ¡¡¡¡¡¡Ï¡¡¡¡¡¡µØ¡¡¡¡¡¡·½¡¡¡¡¡¡£º¡¡¡¡
ID=¡¨£û00000000¡0000¡0000¡0000¡000000000000£ý¡¨¡¡×¢£ºÊµ¼ÊÏÔʾ²»»áÈ«²¿Îª0¡¡´Ëʱ£¬ÄãÖ»Òª½«¡¡
ÆäÖеÄ×Ö½ÚËæ±ãÐÞ¸Äһϼ´¿É¡£±£´æÔÙ´ò¿ª£¬¾Í»á·¢Ïִ󹦸æ³É£¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡XXVII¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡28¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Excel_word_ppt_ʹÓü¼ÇÉ´óÈ«£¨ÍêÈ«°æ£©¡¡¡¡
µ±È»£¬ÔÚÐÞ¸ÄÇ°×îºÃ×öºÃÄãµÄÎĵµ±¸·Ý¡£ÖÁÓÚ»Ö¸´Ö»Òª½«¸Ä¶¯¹ýµÄµØ·½»¹Ô¼´¿É£¨Ö»ÒªÄã¼Çס¡¡
Á˺Ǻǣ©¡£¡¡Ë³±ã˵һ¾ä£¬ÕâÖÖ·½·¨ÈÔÈ»ÊÇ¿ÉÆƽâµÄ£¬ÒòΪ¼ÓÃÜ×ÜÊÇÏà¶ÔµÄ¡¡¡¡¡£¡¡59¡¢Sub¡¡¡¡
Addments£¨£©¡¡¡¡'¡¡×Ô¡¡„Ó¡¡Œ¦¡¡ActiveSheet¡¡Ëù¡¡ÓС¡ÓС¡¹«¡¡Ê½¡¡¸ñ¡¡Î»¡¡¼Ó¡¡ÉÏ¡¡Ô£§¡¡½â¡¡¡¡¡¡Set¡¡¡¡RG¡¡¡¡=¡¡¡¡
Cells¡£SpecialCells£¨xlCellTypeFormulas£©¡¡For¡¡Each¡¡c¡¡In¡¡RG¡¡c¡£Addment¡¡c¡£ment¡£Text¡¡¡¡
Text£º=c¡£Formula¡¡Next¡¡c¡¡End¡¡Sub¡¡Sub¡¡De_ments£¨£©¡¡'¡¡×Ô„ÓÏû³ýËùÓÐÔ£§½â¡¡¡¡Set¡¡RG¡¡=¡¡¡¡
Cells¡£SpecialCells£¨xlCellTypeFormulas£©¡¡For¡¡Each¡¡c¡¡In¡¡RG¡¡c¡£Clearments¡¡Next¡¡c¡¡End¡¡¡¡
Sub¡¡60¡¢ÈçºÎÔÚExcelÀïʹÓö¨Ê±Æ÷¡¡aspsky¡¡2002¡3¡12¡¡20£º53£º27¡¡¶¯ÍøÏÈ·æ¡¡Óùý¡¡¡¡
Excel¡¡97¡¡ÀïµÄ¼ÓÔغꡡ¡¨¶¨Ê±±£´æ¡¨¡¡Â𣿿ÉϧËüµÄÔ´³ÌÐòÊǼÓÃܵģ¬ÏÖÔÚ¾ÍÉÏ´«Ò»Æª½éÉÜʵÏÖ¡¡
ËüµÄÎĵµ¡£¡¡¡¡¡¡ÔÚ¡¡¡¡¡¡Office¡¡¡¡ÀïÓиö·½·¨ÊÇ¡¡¡¡¡¡application¡£ontime¡¡¡¡£¬¾ßÌ庯ÊýÈçÏ£º¡¡¡¡
expression¡£OnTime£¨EarliestTime£»¡¡Procedure£»¡¡LatestTime£»¡¡Schedule£©¡¡Èç¹ûÏë½øÒ»²½Á˽⣬¡¡
Çë²ÎÔÄ¡¡Excel¡¡µÄ°ïÖú¡£¡¡Õâ¸öº¯ÊýÊÇÓÃÀ´°²ÅÅÒ»¸ö¹ý³ÌÔÚ½«À´µÄÌض¨Ê±¼äÔËÐУ¬£¨¿ÉΪij¸öÈÕ¡¡
ÆÚµÄÖ¸¶¨Ê±¼ä£¬Ò²¿ÉΪָ¶¨µÄʱ¼ä¶ÎÖ®ºó£©¡£Í¨¹ýÕâ¸öº¯ÊýÎÒÃǾͿÉÒÔÔÚ¡¡Excel¡¡Àï±àд×Ô¼º¡¡
µÄ¶¨Ê±³ÌÐòÁË¡£ÏÂÃæ¾Í¾ÙÁ½¸öÀý×ÓÀ´ËµÃ÷Ëü¡£¡¡1¡£ÔÚÏÂÎç¡¡17£º00£º00¡¡µÄʱºòÏÔʾһ¸ö¶Ô»°¿ò¡£¡¡¡¡
Sub¡¡Run_it£¨£©¡¡Application¡£OnTime¡¡TimeValue£¨¡¨17£º00£º00¡¨£©£»¡¡¡¨Show_my_msg¡¨¡¡'ÉèÖö¨Ê±Æ÷ÔÚ¡¡¡¡
17£º00£º00¡¡¼¤»î£¬¼¤»îºóÔËÐС¡Show_my_msg¡¡¡£¡¡End¡¡Sub¡¡Sub¡¡Show_my_msg£¨£©¡¡msg¡¡=¡¡MsgBox£¨¡¨¡¡
ÏÖÔÚÊÇ¡¡17£º00£º00¡¡£¡¡¨£»¡¡vbInformation£»¡¡¡¨×Ô¶¨ÒåÐÅÏ¢¡¨£©¡¡End¡¡Sub¡¡2¡£Ä£·Â¡¡Excel¡¡97¡¡ÀïµÄ¡¡¡¨¡¡
×Ô¶¯±£´æºê¡¨£»ÔÚÕâÀﶨʱ¡¡5¡¡Ãë³öÏÖÒ»´Î¡¡Sub¡¡auto_open£¨£©¡¡MsgBox¡¡¡¨»¶ÓÄ㣬ÔÚÕâƪÎĵµÀ¡¡
ÿ¡¡5¡¡Ãë³öÏÖÒ»´Î±£´æµÄÌáʾ£¡¡¨£»¡¡vbInformation£»¡¡¡¨Çë×¢Ò⣡¡¨¡¡Call¡¡runtimer¡¡'´ò¿ªÎĵµÊ±¡¡
×Ô¶¯ÔËÐС¡End¡¡Sub¡¡Sub¡¡runtimer£¨£©¡¡Application¡£OnTime¡¡Now¡¡£«¡¡TimeValue£¨¡¨00£º00£º05¡¨£©£»¡¡¡¡
¡¨saveit¡¨¡¡'¡¡Now¡¡£«¡¡TimeValue£¨¡¨00£º15£º00¡¨£©¡¡Ö¸¶¨ÔÚµ±Ç°Ê±¼ä¹ý¡¡5¡¡ÃëÖÓ¿ªÊ¼ÔËÐС¡Saveit¡¡Õâ¸ö¡¡
¹ý³Ì¡£¡¡End¡¡Sub¡¡Sub¡¡SaveIt£¨£©¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡XXVIII¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡29¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Excel_word_ppt_ʹÓü¼ÇÉ´óÈ«£¨ÍêÈ«°æ£©¡¡¡¡
msg¡¡=¡¡MsgBox£¨¡¨ÅóÓÑ£¬ÄãÒѾ¹¤×÷ºÜ¾ÃÁË£¬ÏÖÔھʹæÅÌÂ𣿡¨¡¡&¡¡Chr£¨13£©¡¡_¡¡&¡¡¡¨Ñ¡ÔñÊÇ£ºÁ¢¿Ì¡¡
´æÅÌ¡¨¡¡&¡¡Chr£¨13£©¡¡_¡¡&¡¡¡¨Ñ¡Ôñ·ñ£ºÔݲ»´æÅÌ¡¨¡¡&¡¡Chr£¨13£©¡¡_¡¡&¡¡¡¨Ñ¡ÔñÈ¡Ïû£º²»ÔÙ³öÏÖÕâ¸öÌáʾ¡¨£»¡¡¡¡
vbYesNoCancel¡¡£«¡¡64£»¡¡¡¨ÐÝÏ¢Ò»»á°É£¡¡¨£©¡¡'ÌáʾÓû§±£´æµ±Ç°»î¶¯Îĵµ¡£¡¡If¡¡msg¡¡=¡¡vbYes¡¡Then¡¡¡¡
ActiveWorkbook¡£Save¡¡Else¡¡If¡¡msg¡¡=¡¡vbCancel¡¡Then¡¡Exit¡¡Sub¡¡Call¡¡runtimer¡¡'Èç¹ûÓû§Ã»¡¡
ÓÐÑ¡ÔñÈ¡Ïû¾ÍÔٴε÷Óá¡Runtimer¡¡End¡¡Sub¡¡ÒÔÉÏÖ»ÊÇÁ½¸ö¼òµ¥µÄÀý×Ó£¬ÓÐÐËȤµÄ»°£¬¿ÉÒÔÀûÓá¡¡¡
Application¡£Ontime¡¡Õâ¸öº¯Êýд³ö¸ü¶à¸üÓÐÓõĶ¨Ê±³ÌÐò¡£¡¡Sub¡¡Show_my_msg£¨£©¡¡msg¡¡=¡¡¡¡
MsgBox£¨¡¨ÏÖÔÚÊÇ¡¡17£º00£º00¡¡£¡¡¨£»¡¡vbInformation£»¡¡¡¨×Ô¶¨ÒåÐÅÏ¢¡¨£©¡¡End¡¡Sub¡¡2¡£Ä£·Â¡¡Excel¡¡97¡¡Àï¡¡
µÄ¡¡¡¨×Ô¶¯±£´æºê¡¨£»ÔÚÕâÀﶨʱ¡¡5¡¡Ãë³öÏÖÒ»´Î¡¡Sub¡¡auto_open£¨£©¡¡MsgBox¡¡¡¨»¶ÓÄ㣬ÔÚÕâƪÎĵµ¡¡
Àÿ¡¡5¡¡Ãë³öÏÖÒ»´Î±£´æµÄÌáʾ£¡¡¨£»¡¡vbInformation£»¡¡¡¨Çë×¢Ò⣡¡¨¡¡Call¡¡runtimer¡¡'´ò¿ªÎÄ¡¡
µµÊ±×Ô¶¯ÔËÐС¡End¡¡Sub¡¡Sub¡¡runtimer£¨£©¡¡Application¡£OnTime¡¡Now¡¡£«¡¡TimeValue£¨¡¨00£º00£º05¡¨£©£»¡¡¡¡
¡¨saveit¡¨¡¡'¡¡Now¡¡£«¡¡TimeValue£¨¡¨00£º15£º00¡¨£©¡¡Ö¸¶¨ÔÚµ±Ç°Ê±¼ä¹ý¡¡5¡¡ÃëÖÓ¿ªÊ¼ÔËÐС¡Saveit¡¡Õâ¸ö¡¡
¹ý³Ì¡£¡¡End¡¡Sub¡¡¡¡¡¡
61¡¢Excel¡¡×îÖØÒªµÄÓ¦ÓþÍÊÇÀûÓù«Ê½½øÐмÆËã¡£ÎÞÂÛÊäÈëÊÇ´¿´âµÄÊý×ÖÔËË㣬»¹ÊÇÒýÓÃÆäËû¡¡
µ¥Ôª¸ñ¼ÆË㣬ֻҪÔÚÒ»¸öµ¥Ôª¸ñÖÐÊäÈ빫ʽ£¬¾ÍÄܵõ½½á¹û¡£Õâ¸öÖ±½ÓÏÔʾ½á¹ûµÄÉè¼Æ¶ÔÓÚ¾ø¡¡
´ó¶àÊý³¡ºÏÀ´Ëµ¶¼ÊÇÊÊÓõģ¬µ«Ä³Ð©Çé¿öϾͲ»ÄÇôÈÃÈËÂúÒâÁË¡£±ÈÈç˵ÔÚ×ö¹¤³ÌÊ©¹¤µÄÔ¤½á¡¡
Ëã±àд£¬Ê¹ÓÃExcel£¬¼ÈҪд³ö¹¤³ÌÁ¿µÄ¼ÆËãʽ£¬Ò²Òª¿´µ½ËüµÄ½á¹û£¬ÓÚÊÇÕâÑùÏàͬµÄ¹«Ê½ÔÚ¡¡
ExcelÀïÃæÒªÌîÁ½´Î£¬Ò»´ÎÔÚÎı¾¸ñʽµÄµ¥Ôª¸ñÖÐÊäÈ빫ʽ£¬Ò»´ÎÊÇÔÚÊý¾Ý¸ñʽµÄµ¥Ôª¸ñÖÐÊä¡¡
È빫ʽÈÃExcel¼ÆËã½á¹û¡£ÈçºÎ¼ÈÄÜ¿´µ½¹«Ê½ÓÖÄÜ¿´µ½½á¹ûÄØ£¿Õâ¸öÎÊÌâ±ÊÕßÈÏΪ¿ÉÒÔ´ÓÁ½¸ö¡¡
·½Ã濼ÂÇ£ºÒ»ÖÖ·½·¨ÊÇËùν¨D¡¡ÒÑÖª½á¹û£¬ÏÔʾ¹«Ê½¡¬£¬ÏÈÔÚÊý¾Ý¸ñʽµ¥Ôª¸ñÖÐÊäÈ빫ʽÈÃExcel¡¡
¼ÆËã½á¹û£¬È»ºóÔÚÏàÁڵĵ¥Ôª¸ñÖп´µ½¹«Ê½£»ÁíÒ»ÖÖ·½·¨Ëùν¨D¡¡ÒÑÖª¹«Ê½£¬ÏÔʾ½á¹û¡¬£¬¾ÍÊÇÏÈ¡¡
ÔÚÒ»¸öÎı¾¸ñʽµÄµ¥Ôª¸ñÖÐÊäÈ빫ʽ£¬ÔÚÏàÁڵĵ¥Ôª¸ñÖп´µ½½á¹û¡£¡ïÒÑÖª½á¹û£¬ÏÔʾ¹«Ê½¡¡¼Ù¡¡
ÉèCÁÐΪͨ¹ý¹«Ê½¼ÆËãµÃµ½µÄ½á¹û£¨¼ÙÉèC1Ϊ¨D=A1£«B1¡¬£¬»òÕßÖ±½ÓÊÇÊý×ÖÔËËã¨D=2£«3¡¬£©£¬¶øÏàÁÚ¡¡
µÄDÁÐÊÇÄãÐèÒªÏÔʾ¹«Ê½µÄµØ·½£¨¼´D1Ó¦¸ÃÏÔʾΪ¨D=A1£«B1¡¬»òÕߨD=2£«3¡¬¡¡£©¡£¡¡1¡£¡¡´ò¿ª¨D¹¤¾ß¡¬²Ë¡¡
µ¥Ñ¡Ôñ¨DÑ¡ÏÃüÁ³öÏÖ¨DÑ¡Ï¶Ô»°¿ò¡£¡¡2¡£¡¡ÔÚ¨D³£¹æ¡¬Ñ¡ÏÖУ¬Ñ¡ÖШDR1C1ÒýÓ÷½Ê½¡¬Ñ¡Ïî¡£¡¡¡¡
3¡£¡¡¶¨ÒåÃû³Æ£¬½«¨D¡¡ÒýÓÃλÖᬡ¡ÓɨD=GET¡£CELL£¨6£»Sheet1£¡RC£§¡1£§£©¡¬¡¡¼´¿É¡£ÕâÀïµÄRC£§¡1£§º¬ÒåÊÇÈç¡¡
¹ûÔÚµ±Ç°µ¥Ôª¸ñµÄͬÐÐÇ°Ò»Áе¥Ôª¸ñÖÐÓй«Ê½½á¹û£¬ÔòÔÚµ±Ç°µ¥Ôª¸ñÖеõ½¹«Ê½ÄÚÈÝ£¬¼´ÔÚº¬¡¡
¹«Ê½½á¹ûµ¥Ôª¸ñµÄͬÐкóÒ»Áе¥Ôª¸ñÏÔʾ¹«Ê½ÄÚÈÝ£»Èç¹û½«RC£§¡1£§¸ÄΪRC£§1£§£¬ÔòÔÚ¹«Ê½½á¹û¡¡
µÄͬÐÐÇ°Ò»Áе¥Ôª¸ñÏÔʾ¹«Ê½ÄÚÈÝ¡£¡¡4¡£¡¡Èç¹û¨DÒýÓÃλÖᬡ¡Öк¬ÓШDRC£§¡1£§¡¬£¬ÔòÔÚº¬¹«Ê½½á¹ûµ¥¡¡
Ôª¸ñµÄͬÐкóÒ»Áе¥Ôª¸ñÖÐÊäÈë¨D=FormulaofResult¡¬¡¡¼´¿ÉµÃµ½¹«Ê½£»Èç¹û¨D¡¡ÒýÓÃλÖᬡ¡Öк¬ÓС¡
¨DRC£§1£§¡¬£¬ÔòÔÚº¬¹«Ê½½á¹ûµ¥Ôª¸ñµÄͬÐÐÇ°Ò»Áе¥Ôª¸ñÖÐÊäÈë¨D=FormulaofResult¡¬¡¡¼´¿ÉµÃµ½¹«¡¡
ʽ¡£¡¡Ìáʾ£ºÈç¹ûÏëÒªÔÚº¬¹«Ê½½á¹ûµ¥Ôª¸ñµÄͬÐкóÊýµÚ2ÁÐÖÐÏÔʾ¹«Ê½ÄÚÈÝ£¬ÔòÐèÒª°Ñ¨D¡¡ÒýÓá¡
λÖᬡ¡ÖеĨDRC¡¡¡¡£1¡¡¡¡¡¬¸ÄΪ¨DRC¡¡¡¡£2¡¡¡¡¡¬¡¡¡£¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡XXIX¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡30¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Excel_word_ppt_ʹÓü¼ÇÉ´óÈ«£¨ÍêÈ«°æ£©¡¡¡¡
¡ïÒÑÖª¹«Ê½£¬ÏÔʾ½á¹û¡¡¼ÙÉèCÁÐΪÊäÈëµÄûÓеȺŹ«Ê½£¨¼ÙÉèC1Ϊ¨DA1£«B1¡¬£©£¬¶øÏàÁÚµÄDÁÐÊÇ¡¡
ÄãÐèÒª´æ·Å¹«Ê½¼ÆËã½á¹ûµÄµØ·½£¨¼´D1ÏÔʾA1ºÍB1µ¥Ôª¸ñÏà¼ÓµÄ½á¹û£©¡£¡¡1¡£¡¡Ñ¡ÖÐD1£¬È»ºó´ò¡¡
¿ª¨D²åÈ롬²Ëµ¥Ñ¡Ôñ¨DÃû³Æ¡¬ÃüÁîÖеĨD¶¨Ò塬×ÓÃüÁ³öÏÖ¨D¶¨ÒåÃû³Æ¡¬¶Ô»°¿ò¡£¡¡2¡£¡¡ÔÚ¨DÔÚµ±Ç°¹¤×÷¡¡
±íÖеÄÃû³Æ¡¬ÊäÈëÀ¸ÖÐÊäÈ붨ÒåµÄÃû³Æ¨DResultofFomula¡¬£¬ÔÚÏ·½µÄ¨D¡¡ÒýÓÃλÖᬱà¼À¸ÖÐÊäÈë¡¡
¨D=EVALUATE£¨Sheet1£¡C1£©¡¬£¬µ¥»÷£§È·ÈÏ£§°´Å¥Í˳ö¡£¡¡3¡£¡¡ÔÚ¡¡D1ÖÐÊäÈë¨D=ResultofFomula¡¬£¬È»ºó¡¡
Ñ¡Öа´×¡ÓÒϽǵÄÌî³ä±úÏòÏÂÀ¶¯Ìî³ä¼´¿É¡£¡¡Ìáʾ£ºEVALUATE¡¡¡¡¡¡¡¡ÊÇEexcel¡¡4£®0°æµÄºê±íº¯¡¡
Êý£¬Excel¡¡2000ºÍExcel¡¡2002Öл¹Ö§³Ö£¬µ«Ö»¿ÉÓÃÓÚÃû³Æ¶¨ÒåÖС£¡¡4¡£¡¡Ìî³äºóÒª°´£§F9£§½øÐÐÖØ¡¡
Ë㣬Èç¹ûCÁеĹ«Ê½ÓиĶ¯£¬Ò²ÐèÒª¼°Ê±°´£§F9£§½øÐÐÖØËã¡£¡¡ÇÉÊ©Ãî¼Æ£¬¾ÍÄÜÈù«Ê½ºÍ½á¹ûÔÚExcel¡¡
ÖкÍƽ¹²´¦ÁË£¬ÄãÒ²ÊÔÊÔ°É¡£¡¡¡¡62¡¡¡¢http£º//yesky¡£/20010724/190094_3¡£shtml¡¡¡¡
Microsoft¡¡ExcelÊÇÒ»¿î¹¦Äܷdz£Ç¿´óµÄµç×Ó±í¸ñÈí¼þ¡£Ëü¿ÉÒÔÇáËɵØÍê³ÉÊý¾ÝµÄ¸÷ÀàÊýѧÔË¡¡
Ë㣬²¢Óø÷ÖÖ¶þά»òÈýάͼÐÎÐÎÏóµØ±íʾ³öÀ´£¬´Ó¶ø´ó´ó¼ò»¯ÁËÊý¾ÝµÄ´¦Àí¹¤×÷¡£µ«Èô½öÀûÓá¡
ExcelµÄ³£Óù¦ÄÜÀ´´¦Àí½Ï¸´ÔÓµÄÊý¾Ý£¬¿ÉÄÜÈÔÐè½øÐдóÁ¿µÄÈ˹¤²Ù×÷¡£µ«ExcelµÄÇ¿´óÔ¶Ô¶³¬¡¡
¹ýÈËÃǵÄÏëÏ󡡺êµÄÒýÈëʹÆä¾ßÓÐÁËÎÞÏÞµÄÀ©Õ¹ÐÔ£¬Òò¶ø¿ÉÒԺܺõؽâ¾ö¸´ÔÓÊý¾ÝµÄ´¦ÀíÎÊ¡¡
Ìâ¡£¡¡Ëæ×ÅÖ§³ÖWindowsµÄÓ¦ÓóÌÐòµÄ²»¶ÏÔö¶àºÍ¹¦ÄܵIJ»¶ÏÔöÇ¿£¬Ô½À´Ô½¶àµÄ³ÌÐòÔö¼ÓÁ˺괦¡¡
ÀíÀ´·½±ãÓû§µÄ×ÔÓÉÀ©Õ¹¡£µ«³õÆÚ¸÷Ó¦ÓóÌÐòËù²ÉÓõĺêÓïÑÔ²¢²»Í³Ò»£¬ÕâÑùÓû§Ã¿Ê¹ÓÃÒ»ÖÖ¡¡
Ó¦ÓóÌÐòʱ¶¼µÃÖØÐÂѧϰһÖÖºêÓïÑÔ¡£ÎªÁËͳһ¸÷ÖÖÓ¦ÓóÌÐòϵĺ꣬MicrosoftÍƳöÁËVBA¡¡
¡¡£¨Visual¡¡Basic¡¡for¡¡Applications£©ÓïÑÔ¡£¡¡VBAÊÇ´ÓÁ÷ÐеÄVisual¡¡Basic±à³ÌÓïÑÔÖÐÅÉÉú³ö¡¡
À´µÄÒ»ÖÖÃæÏòÓ¦ÓóÌÐòµÄÓïÑÔ£¬ËüÊÊÓÃÓÚ¸÷ÖÖWindowsÓ¦ÓóÌÐò£¬¿ÉÒÔ½â¾ö¸÷Ó¦ÓóÌÐòµÄºêÓï¡¡
ÑÔ²»Í³Ò»µÄÎÊÌâ¡£³ý´ËÖ®Í⣬ʹÓÃVBAÓïÑÔ»¹ÓÐÈçÏÂÓŵ㣺1¡¢VBAÊÇÒ»ÖÖͨÓóÌÐòÓïÑÔ£¬Í¨¹ý¡¡
Ëü²»½ö¿ÉÒÔ¹²ÏíMicrosoftÏà¹ØµÄ¸÷ÖÖÈí¼þ£¨ÈçExcel¡¢Word¡¢Access£©¡¨¡¨£¬¶øÇÒËæ×ÅÆäËüµÄ¡¡
һЩÈí¼þ£¨Èç´óÃû¶¦¶¦µÄAutoCAD2000£©µÈ¶ÔVBAµÄÖ§³Ö£¬ÕâЩÈí¼þÒ²ÒѽøÈëµ½ÁËVBAµÄ¿ØÖÆ·¶¡¡
Χ£»2¡¢¿ÉÒÔ½«ÓÃVBA±àдµÄ³ÌÐò¸´ÖƵ½Visual¡¡BasicÖе÷ÊÔ²¢ÔËÐУ¬´Ó¶øʵÏÖÓÃVisual¡¡Basic¡¡
À´¿ØÖÆÓйصÄÓ¦ÓóÌÐò£»3¡¢VBAÌṩµÄ´óÁ¿ÄÚ²¿º¯Êý´ó´ó¼ò»¯ÁËÓû§µÄ²Ù×÷¡£¡¡¶ÔÓÚ¶ø½ñµÄºê£¬¡¡
²»½öÓïÑÔͳһ¹æ·¶£¬¶øÇÒÆ书ÄÜÒ²Òѷdz£Ç¿´ó¡£µ«ÔÚ´ó¶àÊý½éÉÜExcelµÄ¡¨Éµ¹ÏÊ顨¡¢¡¨Ö¸ÄÏ¡¨¡¢¡¨¡¡
ÈëÃÅÓëÌá¸ß¡¨µÈ²Î¿¼ÊéÖÐÍùÍùÂÔ¹ý²»Ìᣬ»òdzdz´ø¹ý£¬¶ÁÕß´ÓÖлñµÃµÄÓйØ֪ʶÍùÍù²»×ãÒÔÓ¦¡¡
¸¶´¦Àí¸´ÔÓÊý¾ÝµÄÐèÇó¡£ÎªÁËÍê³É¹¤×÷£¬¾ÍÈÃÎÒÃÇÒ»ÆðÀ´Ñ§Ï°¡¨ºê¡¨µÄÃîÓðɡ£¡¡Ò»£©¡¢ºêµÄ×Ôѧ¡¡¡¡
Ê×ÏÈÐèÒªÃ÷È·µÄÊÇ£¬±¾ÎIJ»¿ÉÄ̻ܽáÄú¹ØÓÚºêµÄËùÓÐÄÚÈÝ¡£ÄúÐèҪѧ»áÀûÓá¨Â¼ÖƺꡨµÄ·½·¨À´¡¡
ѧϰºê£ºµã»÷Excel¡¨¹¤¾ß¡¨ÏÂÀ²Ëµ¥ÖС¨ºê¡¨Ï£¿quot£»Â¼ÖÆкꡨ£¬´Ëºó¿ÉÏóƽʱһÑù½øÐÐÓйز١¡
×÷£¬´ýÍê³Éºóֹͣ¼ÖÆ¡£È»ºóÔÙµã»÷¡¨¹¤¾ß¡¨ÏÂÀ²Ëµ¥ÖС¨ºê¡¨Ï¡¨ºê¡¨µÄ¡¨±à¼¡¨Ñ¡Ïî¼´¿É´ò¿ª¸Õ²Å¡¡
Ëù¼ÖƵĺêµÄVisual¡¡BasicÔ´³ÌÐò£¬²¢ÇÒ¿ÉÒÔÔÚ´ËʱµÄ¡¨°ïÖú¡¨ÏÂÀ²Ëµ¥ÖлñµÃÓйصıà³Ì°ï¡¡
Öú¡£¶Ô¼Öƺê½øÐÐÐ޸IJ»½ö¿ÉÒÔѧϰºêµÄʹÓ㬻¹ÄÜ´ó´ó¼ò»¯ºêµÄ±àд¡£¡¡¶þ£©¡¢»ù±¾¸ÅÄΪ¡¡
ÁËѧϰExcelÖеĺ꣬ÎÒÃÇÐèÒªÏÈÁ˽âÒÔÏÂһЩ»ù±¾¸ÅÄî¡£¡¡1¡¢¹¤×÷²¾£ºWorkbooks¡¢Workbook¡¢¡¡
ActiveWorkbook¡¢ThisWorkbook¡¡Workbooks¼¯ºÏ°üº¬ExcelÖÐËùÓе±Ç°´ò¿ªµÄExcel¹¤×÷²¾£¬Òà¡¡
¼´ËùÓдò¿ªµÄExcel¡¡Îļþ£»Workbook¡¡¶ÔÓ¦Workbooks¡¡ÖеijÉÔ±£¬¼´ÆäÖеÄExcel¡¡Îļþ£»¡¡
ActiveWorkbook´ú±íµ±Ç°´¦Óڻ״̬µÄ¹¤×÷²¾£¬¼´µ±Ç°ÏÔʾµÄExcelÎļþ£»ThisWorkbook´ú¡¡
±íÆäÖÐÓÐVisual¡¡Basic´úÂëÕýÔÚÔËÐеŤ×÷²¾¡£¡¡ÔÚ¾ßÌåʹÓÃÖпÉÓÃWorkbooks£¨index£©À´ÒýÓá¡
Workbook¶ÔÏó£¬ÆäÖС¡indexΪ¹¤×÷²¾Ãû³Æ»ò±àºÅ£»ÈçWorkbooks£¨1£©¡¡¡¢Workbooks£¨¡¨Äê¶È±¨¡¡
±í¡£xls¡¨£©¡£¶ø±àºÅ°´ÕÕ´´½¨»ò´ò¿ª¹¤×÷²¾µÄ˳ÐòÀ´È·¶¨£¬µÚÒ»¸ö´ò¿ªµÄ¹¤×÷²¾±àºÅΪ1£¬µÚ¶þ¡¡
¸ö´ò¿ªµÄ¹¤×÷²¾Îª2¡¨¡¨¡£¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡XXX¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡31¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Excel_word_ppt_ʹÓü¼ÇÉ´óÈ«£¨ÍêÈ«°æ£©¡¡¡¡
2¡¢¹¤×÷±í£ºWorksheets¡¢Worksheet¡¢ActiveSheet¡¡Worksheets¼¯ºÏ°üº¬¹¤×÷²¾ÖÐËùÓеŤ×÷¡¡
±í£¬¼´Ò»¸öExcelÎļþÖеÄËùÓÐÊý¾Ý±íÒ³£»¶øWorksheetÔò´ú±íÆäÖеÄÒ»¸ö¹¤×÷±í£»ActiveSheet¡¡
´ú±íµ±Ç°´¦ÓڵĻ״̬¹¤×÷±í£¬¼´µ±Ç°ÏÔʾµÄÒ»¸ö¹¤×÷±í¡£¡¡¿ÉÓÃWorksheets£¨index£©À´ÒýÓá¡
Worksheet¶ÔÏó£¬ÆäÖÐindexΪ¹¤×÷±íÃû³Æ»òË÷ÒýºÅ£»ÈçWorksheets£¨1£©¡¢Worksheets£¨¡¨µÚÒ»¼¾¡¡
¶ÈÊý¾Ý¡¨£©¡£¹¤×÷±íË÷ÒýºÅ±íÃ÷¸Ã¹¤×÷±íÔÚ¹¤×÷±í±êÇ©ÖеÄλÖ㺵ÚÒ»¸ö£¨×î×ó±ßµÄ£©¹¤×÷±íµÄ¡¡
Ë÷ÒýºÅΪ1£¬×îºóÒ»¸ö£¨×îÓұߵģ©ÎªWorksheets¡£Count¡£ÐèҪעÒâµÄÊÇ£ºÔÚʹÓùý³ÌÖÐExcel¡¡
»á×Ô¶¯ÖØÅŹ¤×÷±íË÷ÒýºÅ£¬±£³Ö°´ÕÕÆäÔÚ¹¤×÷±í±êÇ©ÖеĴÓ×óÖÁÓÒÅÅÁУ¬¹¤×÷±íµÄË÷ÒýºÅµÝÔö¡£¡¡
Òò´Ë£¬ÓÉÓÚ¿ÉÄܽøÐеŤ×÷±íÌí¼Ó»òɾ³ý£¬¹¤×÷±íË÷ÒýºÅ²»Ò»¶¨Ê¼ÖÕ±£³Ö²»±ä¡£¡¡3¡¢Í¼±í£º¡¡
Chart¡¡¡¢Charts¡¢ChartObject¡¢ChartObjects¡¢ActiveChart¡¡Chart´ú±í¹¤×÷²¾ÖеÄͼ±í¡£¸Ã¡¡
ͼ±í¼È¿ÉΪǶÈëʽͼ±í£¨°üº¬ÔÚChartObjectÖУ©£¬Ò²¿ÉΪһ¸ö·Ö¿ªµÄ£¨µ¥¶ÀµÄ£©Í¼±í¹¤×÷±í¡£¡¡¡¡
Charts´ú±íÖ¸¶¨¹¤×÷²¾»ò»î¶¯¹¤×÷²¾ÖÐËùÓÐͼ±í¹¤×÷±íµÄ¼¯ºÏ£¬µ«²»°üÀ¨Ç¶ÈëʽÔÚ¹¤×÷±í»ò¶Ô¡¡
»°¿ò±à¼±íÖеÄͼ±í¡£Ê¹ÓÃCharts£¨index£©¡¡¿ÉÒýÓõ¥¸öChartͼ±í£¬ÆäÖÐindexÊǸÃͼ±í¹¤×÷±í¡¡
µÄË÷ÒýºÅ»òÃû³Æ£»ÈçCharts£¨1£©¡¢Charts£¨¡¨ÏúÊÛͼ±í¡¨£©¡£Í¼±í¹¤×÷±íµÄË÷ÒýºÅ±íʾͼ±í¹¤×÷±í¡¡
ÔÚ¹¤×÷²¾µÄ¹¤×÷±í±êÇ©À¸ÉϵÄλÖá£Charts£¨1£©Êǹ¤×÷²¾ÖеÚÒ»¸ö£¨×î×ó±ßµÄ£©Í¼±í¹¤×÷±í£»¡¡
Charts£¨Charts¡£Count£©Îª×îºóÒ»¸ö£¨×îÓұߵģ©Í¼±í¹¤×÷±í¡£¡¡ChartObject´ú±í¹¤×÷±íÖеÄǶ¡¡
Èëʽͼ±í£¬Æä×÷ÓÃÊÇ×÷ΪChart¶ÔÏóµÄÈÝÆ÷¡£ÀûÓÃChartObject¿ÉÒÔ¿ØÖƹ¤×÷±íÉÏǶÈëʽͼ±íµÄ¡¡
Íâ¹ÛºÍ³ß´ç¡£¡¡ChartObjects´ú±íÖ¸¶¨µÄͼ±í¹¤×÷±í¡¢¶Ô»°¿ò±à¼±í»ò¹¤×÷±íÉÏËùÓÐǶÈëʽͼ¡¡
±íµÄ¼¯ºÏ¡£¿ÉÓÉChartObjects£¨index£©ÒýÓõ¥¸öChartObject£¬ÆäÖÐindexΪǶÈëʽͼ±íµÄ±àºÅ¡¡
»ò¡¡¡¡¡¡¡¡¡¡Ãû¡¡¡¡¡¡¡¡¡¡³Æ¡¡¡¡¡¡¡¡¡¡¡£¡¡¡¡¡¡¡¡¡¡¡¡Èç¡¡¡¡¡¡¡¡¡¡Worksheets£¨¡¨Sheet1¡¨£©¡£ChartObjects£¨1£©¡¡¡¢¡¡
Worksheets£¨¡¨sheet1¡¨£©¡£ChartObjects£¨¡¨chart1¡¨£©·Ö±ð¶ÔÓ¦¡¨Sheet1¡¨¹¤×÷±íÖеĵÚÒ»¸öǶÈëʽ¡¡
ͼ±í¡¢ÒÔ¼°ÃûΪ¡¨Chart1¡¨µÄǶÈëʽͼ±í¡£¡¡ActiveChart¿ÉÒÔÒýÓû״̬ϵÄͼ±í£¬²»ÂÛ¸Ãͼ¡¡
±íÊÇͼ±í¹¤×÷±í£¬»òǶÈëʽͼ±í¡£¶ø¶ÔÓÚͼ±í¹¤×÷±íΪ»î¶¯¹¤×÷±íʱ£¬»¹¿ÉÒÔͨ¹ýActiveSheet¡¡
ÊôÐÔÒýÓÃÖ®¡£¡¡4¡¢µ¥Ôª¸ñ£ºCells¡¢ActiveCell¡¢Range¡¢Areas¡¡Cells£¨row£»column£©´ú±íµ¥¸ö¡¡
µ¥Ôª¸ñ£¬ÆäÖÐrowΪÐкţ¬columnΪÁкš£Èç¿ÉÒÔÓÃCells£¨1£»1£©¡¢Cells£¨10£»4£©À´ÒýÓá¨A1¡¨¡¢¡¨D10¡¨¡¡¡¡
µ¥Ôª¸ñ¡£ActiveCell´ú±í»î¶¯¹¤×÷±íµÄ»î¶¯µ¥Ôª¸ñ£¬»òÖ¸¶¨¹¤×÷±íµÄ»î¶¯µ¥Ôª¸ñ¡£¡¡Range´ú±í¡¡
¹¤×÷±íÖеÄijһµ¥Ôª¸ñ¡¢Ä³Ò»ÐС¢Ä³Ò»ÁС¢Ä³Ò»Ñ¡¶¨ÇøÓò£¨¸ÃÑ¡¶¨ÇøÓò¿É°üº¬Ò»¸ö»òÈô¸ÉÁ¬Ðø¡¡
µ¥Ôª¸ñÇøÓò£©»òÕßijһÈýάÇøÓò¡£¡¡¿ÉÓÃRange£¨arg£©À´ÒýÓõ¥Ôª¸ñ»òµ¥Ôª¸ñÇøÓò£¬ÆäÖÐarg¿ÉΪ¡¡
µ¥Ôª¸ñºÅ¡¢µ¥Ôª¸ñºÅ·¶Î§¡¢µ¥Ôª¸ñÇøÓòÃû³Æ¡£Èç¡¡Range£¨¡¨A5¡¨£©¡¡¡¢Range£¨¡¨A1£ºH8¡¨£©¡¡¡¢¡¡
Range£¨¡¨Criteria¡¨£©¡£ËäÈ»¿ÉÓÃRange£¨¡¨A1¡¨£©·µ»Øµ¥Ôª¸ñA1£¬µ«ÓÃCells¸ü·½±ã£¬ÒòΪ´Ëʱ¿ÉÓá¡
±äÁ¿Ö¸¶¨ÐкÍÁС£¡¡¿É½«RangeÓëCells½áºÏÆðÀ´Ê¹Óã¬ÈçRange£¨Cells£¨1£»1£©£»Cells£¨10£»10£©£©´ú¡¡
±íµ¥Ôª¸ñÇøÓò¡¨A1£ºJ10¡¨£»¶øexpression¡£Cells£¨row£»column£©·µ»Øµ¥Ôª¸ñÇøÓòÖеÄÒ»²¿·Ö£¬ÆäÖС¡
expressionÊÇ·µ»ØRange¡¡µÄ±í´ïʽ£¬rowºÍcolumnΪÏà¶ÔÓÚ¸ÃÇøÓòµÄ×óÉϽÇÆ«ÒÆÁ¿¡£ÈçÓÉ¡¡
Range£¨¡¨C5£ºC10¡¨£©¡£Cells£¨1£»1£©ÒýÓõ¥Ôª¸ñC5¡£¡¡AreasΪѡ¶¨ÇøÓòÄÚµÄÁ¬Ðøµ¥Ôª¸ñ¿éµÄ¼¯ºÏ£¬Æä¡¡
³ÉÔ±ÊÇRange¶ÔÏ󡣶øÆäÖеÄÿ¸öRange¶ÔÏó´ú±íÑ¡¶¨ÇøÓòÄÚÓëÆäËü²¿·ÖÏà·ÖÀëµÄÒ»¸öÁ¬Ðøµ¥Ôª¡¡
¸ñ¿é¡£Ä³Ð©²Ù×÷²»ÄÜÔÚÑ¡¶¨ÇøÓòÄڵĶà¸öµ¥Ôª¸ñ¿éÉÏͬʱִÐУ»±ØÐëÔÚÑ¡¶¨ÇøÓòÄڵĵ¥Ôª¸ñ¿é¡¡
ÊýAreas¡£CountÉÏÑ»·£¬¶Ôÿ¸öµ¥¶ÀµÄµ¥Ôª¸ñ¿é·Ö±ðÖ´ÐиòÙ×÷¡£´Ëʱ£¬¿ÉÓÃAreas£¨index£©´Ó¡¡
¼¯ºÏÖзµ»Øµ¥¸öRange¶ÔÏó£¬ÆäÖÐindexΪµ¥Ôª¸ñ¿é±àºÅ£»ÈçAreas£¨1£©¡£¡¡5¡¢¡¡ÐÐÓëÁУºRows¡¢¡¡
Columns¡¢Row¡¢Column¡¡Rows¡¢Columns·Ö±ð´ú±í»î¶¯¹¤×÷±í¡¢µ¥Ôª¸ñÇøÓò·¶Î§Range¡¢Ö¸¶¨¹¤¡¡
×÷±íÖеÄËùÓÐÐÐÊý¡¢ÁÐÊý¡£¶ÔÓÚÒ»¸ö¶àÑ¡µ¥Ôª¸ñÇøÓò·¶Î§RangeµÄRows¡¢Columns£¬Ö»·µ»Ø¸Ã·¶¡¡
ΧÖеÚÒ»¸öÇøÓòµÄÐÐÊý¡¢ÁÐÊý¡£ÀýÈ磬Èç¹ûRange¶ÔÏóÓÐÁ½¸öÇøÓò£¨areas£©A1£ºB2ºÍC3£ºD4£¬¡¡
Rows¡£Count·µ»Ø2¶ø²»ÊÇ4¡£¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡XXXI¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡32¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Excel_word_ppt_ʹÓü¼ÇÉ´óÈ«£¨ÍêÈ«°æ£©¡¡¡¡
¿Éͨ¹ýRows£¨Ðкţ©¡¢Columns£¨Áкţ©À´ÒýÓÃÏàÓ¦µÄÐÐÓëÁУ»ÈçRows£¨3£©¡¢Columns£¨4£©·Ö±ð¶ÔÓ¦µÚ¡¡
ÈýÐС¢DÁС£¡¡ÀûÓÃRows¡¢Column¿ÉÒÔ»ñµÃÇøÓòÖеÚÒ»¿éµÄµÚÒ»ÐÐÐкš¢µÚÒ»ÁÐÁкţ¬ËùµÃÖµ¾ù¡¡
ÒÔÊ®½øÖÆÊý±íʾ¡£¡¡Èý£©¡¢´¦Àíµ¥Ôª¸ñ¡¡1¡¢Ö±½Ó¸³ÖµÓëÒýÓ᡽«±äÁ¿¡¢³£Á¿ÖµÖ±½Ó¸³¸øµ¥Ôª¸ñ¡¢¡¡
»ò½«µ¥Ôª¸ñµÄÖµÖ±½Ó¸³¸ø±äÁ¿¡¢³£Á¿£¬ÕâÊÇÔÚExcelÖÐ×î¼òµ¥µÄµ¥Ôª¸ñ¸³Öµ¼°ÒýÓ÷½·¨¡£ÈçÏ¡¡
Àý½«¹¤×÷±í¡¨Sheet1¡¨A1µ¥Ôª¸ñµÄÖµ¸³¸øInteger±äÁ¿I£¬²¢½«I£«1µÄÖµ¸³¸øµ±Ç°¹¤×÷±íÖеÄB1µ¥¡¡
Ôª¸ñ£º¡¡Dim¡¡I¡¡As¡¡Integer¡¡I=Worksheets£¨¡¨Sheet1¡¨£©¡£Cells£¨1£»1£©¡¡Cells£¨1£»2£©¡£Select¡¡'Ñ¡¶¨¡¡
B1µ¥Ôª¸ñ£¬Ê¹Æä³ÉΪµ±Ç°µ¥Ôª¸ñ¡¡ActiveCell=I£«1¡¡'ÒÔI£«1Ϊµ±Ç°µ¥Ôª¸ñ¸³Öµ¡¡2¡¢Óù«Ê½¸³Öµ¡¡ÔÚ¡¡
ºêµÄʹÓÃÖУ¬¿ÉÄÜ»á¸ü¶àµØÓù«Ê½À´¸øµ¥Ôª¸ñ¸³Öµ¡£ÈçÏÂÀý½«Ïà¶ÔÓڻµ¥Ôª¸ñ×ó²àµÚ4ÁС¢¡¡
ÏòÉϵÚ6ÐÐÖÁÏòÉϵÚ2Ðеĵ¥Ôª¸ñÊýÖµÖ®ºÍ¸³¸ø»î¶¯µ¥Ôª¸ñ£¨ÒÔ±¾ÐС¢±¾ÁÐΪµÚ0ÐС¢0ÁУ©£º¡¡¡¡
ActiveCell¡£Formula=¡¨=AVERAGE£¨R£§¡6£§C£§¡4£§£ºR£§¡2£§C£§¡4£§£©¡¨¡¡3¡¢ÒýÓÃÆäËü¹¤×÷±íÖеĵ¥Ôª¸ñ¡¡¡¡
µ±¸³Öµ¹«Ê½ÖÐÐèÒªÒýÓÃÆäËü¹¤×÷±íÖеĵ¥Ôª¸ñʱ£¬ÔÚ±»ÒýÓõĵ¥Ôª¸ñÇ°¼ÓÉÏ¡¨¹¤×÷±íÃû£¡¡¨¼´¿É¡£¡¡
Èç¡¡ÒÔ¡¡Ï¡¡¼´¡¡ÔÚ¡¡¸³¡¡Öµ¡¡ÖС¡Òý¡¡Óá¡ÁË¡¡¡¨Sheet1¡¨¡¡¹¤¡¡×÷¡¡±í¡¡ÖС¡µÄ¡¡A1¡¡ÖÁ¡¡A4¡¡µ¥¡¡Ôª¡¡¸ñ¡¡£º¡¡¡¡
Range£¨¡¨E10¡¨£©¡£Formula=¡¨=SUM£¨Sheet1£¡R1C1£ºR4C1£©¡¨¡¡µ«Ðè×¢ÒâµÄÊÇ£ºµ±±»ÒýÓõŤ×÷±íÃûÖк¬¡¡
ÓÐijЩ¿ÉÄÜÒýÆð¹«Ê½ÆçÒåµÄ×Ö·ûʱ£¬ÐèÒªÓõ¥ÒýºÅ¡¡'¡¡½«¹¤×÷±íÃûÀ¨ÆðÀ´¡£È磺¡¡¡¡
Worksheets£¨¡¨Sheet1¡¨£©¡£ActiveCell¡£Formula=¡¨=Max£¨'1¡1ÆÊÃæ'£¡D3£ºD5£©¡¨¡¡4¡¢ÒýÓÃÆäËü¹¤×÷²¾¡¡
Öеĵ¥Ôª¸ñ¡¡ÔÚ±»ÒýÓõ¥Ôª¸ñËùÔÚ¹¤×÷±íÃûÇ°¼ÓÉÏ¡¨£§¹¤×÷²¾Ãû£§¡¨£¬¼´¿ÉÒýÓÃÆäËü¹¤×÷²¾Öеĵ¥¡¡
Ôª¸ñ¡£È磺¡¡ActiveCell¡£Formula=¡¨=MAX£¨£§Book1¡£xls£§Sheet3£¡R1C£ºRC£§4£§£©¡¨¡¡Í¬ÑùÐè×¢ÒâµÄÊÇ£º¡¡
µ±±»ÒýÓõŤ×÷²¾ÃûÖк¬ÓÐijЩ¿ÉÄÜÒýÆð¹«Ê½ÆçÒåµÄ×Ö·ûʱ£¬ÐèÒªÓÃÖÐÀ¨ºÅ¡¨£§¡¨¡¢¡¨£§¡¨¼°µ¥ÒýºÅ¡¡
'½«¹¤×÷²¾ÃûÀ¨ÆðÀ´¡£È磺¡¡Cells£¨1£»2£©¡£Formula=¡¨=MIN£¨'£§1995¡2000×ܽᡣxls£§1995¡1996Äê'£¡¡¡¡¡
A1£ºA6£©¡¨¡¡5¡¢±ÜÃâÑ»·ÒýÓá¡ÔÚÉÏÊö¹«Ê½¸³Öµ¹ý³ÌÖУ¬Ó¦±ÜÃâÔÚ¹«Ê½ÖÐÒýÓñ»¸³ÖµµÄµ¥Ôª¸ñ£¬¡¡
·Àֹѻ
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿!
ÎÂÜ°Ìáʾ£º ο´Ð¡ËµµÄͬʱ·¢±íÆÀÂÛ£¬Ëµ³ö×Ô¼ºµÄ¿´·¨ºÍÆäËüС»ï°éÃÇ·ÖÏíÒ²²»´íŶ£¡·¢±íÊéÆÀ»¹¿ÉÒÔ»ñµÃ»ý·ÖºÍ¾Ñé½±Àø£¬ÈÏÕæдԴ´ÊéÆÀ ±»²ÉÄÉΪ¾«ÆÀ¿ÉÒÔ»ñµÃ´óÁ¿½ð±Ò¡¢»ý·ÖºÍ¾Ñé½±ÀøŶ£¡