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

[µo°Ý] ¨Ï¥ÎVBA¦Û°Ê§ó·s«oµLªkÀx¦s

[µo°Ý] ¨Ï¥ÎVBA¦Û°Ê§ó·s«oµLªkÀx¦s

¥»©«³Ì«á¥Ñ 91102360871 ©ó 2011-6-15 22:51 ½s¿è

¦U¦ì¦Ñ®v«e½ú¦n¡G
  ¤p§Ì¦³¤@°ÝÃD¡A·Ð½Ð¸Ñ´b
  §Ú¥ÎEXCEL¶×¤J¥~³¡¸ê®Æ(SQL SERVER)°µ¤ÀªR¡A©ó¬O¼g¤F¥H¤Uªºµ{¦¡¶i¦æ¦Û°Ê§ó·s
  Sub Macro1()
   Macro1 Macro
    ActiveWorkbook.RefreshAll
    ActiveWorkbook.RefreshAll
    ActiveWorkbook.Save
End Sub

§ó·s¨â¦¸¬O¦]¬°²Ä¤@¦¸§ó·s¬O±q¥~³¡¶×¤J·s¸ê®Æ¡A²Ä¤G¦¸§ó·s¬O¦]¬°±N¸ê®Æ°µ¼Ï¯Ã¡A¦Ó¶i¦æ¼Ï¯Ã³sµ²ªº§ó·s

¦ý¨Ï¥Î®É¡A«o·|¥X²{ "³o­Ó°Ê§@±N·|¨ú®ø¥¿µ¥µÛ°õ¦æªº¸ê®Æ§ó·s©R¥O¡A±zÁÙ­nÄ~Äò¶Ü?" ªº°T®§
­Y¬OÂI¿ï½T©w¡A«h¬O·|§ó·s¦ý¤£·|Àx¦s
­Y¬OÂI¿ï¨ú®ø¡A«h¬O¤£·|§ó·s¦ý·|Àx¦s

¬O§_¦³¦Ñ®v¡B«e½ú¯àÀ°¤p§Ì¸Ñµª

ÁÂÁÂ

¦^´_ 1# 91102360871

±N    ActiveWorkbook.Save ´À´«¦¨
³o¦æ¬Ý¬Ý                ActiveWindow.Close savechanges:=True

TOP

¦^´_ 2# mark15jill


    ÁÂÁ¦Ѯvªº¸Ñµª
   ¤£¹L¤S¹J¨ì¤F¥t¥~¤@­Ó°ÝÃD
   ÁöµM¥i¥HÀx¦s¡A¦ý«o¤£·|§ó·s
   ÁÙ¦³¤U­z°ÝÃD·Q½Ð¦Ñ®v¸Ñµª
   §Ú±N¸ê®Æ±qSQL¶×¤J®É¡A»Ý­n¿é¤J±K½X¡A½Ð°Ý³o³¡¤À¸Ó«ç»ò¼g
    ¥H¤Î¬O§_¦³¤°»ò§Ö±¶ªº¤èªk¥i¥H¦P®É°õ¦æ¤£¦PÀɦW

    ÁÂÁ¸ѵª¡A«D±`·P®¦

TOP

¦^´_ 3# 91102360871


    »Ý­n¿é¤J±K½X? ¬O±K½X«OÅ@?? ªO¤W¦³¤@¨Ç¤j¤j¦³´£¨ÑÃþ¦ü±Ð¾Ç ¥i°Ñ¦Ò

TOP

        ÀR«ä¦Û¦b : ¤H­n¦Û·R¡A¤~¯à·R´¶¤Ñ¤Uªº¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD