¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò ¡@ÀY»Î: [±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í
- ©«¤l
- 852
- ¥DÃD
- 79
- ºëµØ
- 0
- ¿n¤À
- 918
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7 , XP
- ³nÅ骩¥»
- Office 2007, Office 2003,Office 2010,YoZo Office
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦t©z
- µù¥U®É¶¡
- 2011-4-8
- ³Ì«áµn¿ý
- 2024-2-21
|
¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-6-17 17:13 ½s¿è
¦]¤§«e¦³µo©« ¦ý¬O¦n¹³»¡ªº¤£¬O«Ü²M·¡ ¨S¤H¦^À³(ÁÙ¬O¦³¬ÛÃöÃþ«¬ªº©«!?
©Ò¥H §ï´«°ÝÓ°ÝÃD...
½Ð°Ý~ ¦pªG¤µ¤Ñ¦³ÓEXCELÀÉ®× ¤º¦³¬¡¶Ã¯ ²Ä¤@¶¥¿±¡B²Ä¤@¶I±¡B²Ä¤G¶
·Q§Q¥Îcombuttonªº«ö¶s±N ²Ä¤@¶¥¿± ²Ä¤@¶I± ¥t¦s¦b²Ä¤@ÓÀÉ®×(ÀɮצWºÙ ®Ú¾Ú ²Ä¤@¶¥¿±¤ºªº P4 Àx¦s®æªºÈ¦s )¤º¡B ²Ä¤G¶ ¦s¦b²Ä¤GÓÀÉ®×(ÀɮצWºÙÂê©w¬° Á`ªí)¦ý¬O¸ê®Æ·|§ó·s ©Ò¥H¦¹Àɮתº¸ê®Æ¬O©¹¤U¥B¤£«½Æ
¤£ª¾¹Dn«ç¼g¤ñ¸û¦n~
¯à´ú¸Õ.rar (6.99 KB)
¦³§ä¨ì¤@½g¤å³¹(Â^¨ú¦Ü http://tw.myblog.yahoo.com/jw!FvCzE1CGBwNR004MLOT.vA--/article?mid=18&prev=34&next=12&l=f&fid=5)¸Ì±¦³¼g ¦ý¬O ¥L¬O¤À³Î«Ü²Ó
§Ú¦³¸ÕµÛ¥h×§ï ¦ý¬O ¨C¦¸×§ï³£·|¥X²{ ¿ù»~°T®§(¸ô®|¿ù»~)- Sub ¤Á³Î¬¡¶Ã¯()
- source_window_name = ActiveWindow.Caption
- source_path_name = ActiveWorkbook.Path
- '¥ý§â²{¦b·Ç³Æ¤À³Îªºì©lÀɮתºµøµ¡¦WºÙ¤Î¸ô®|°O¿ý¤U¨Ó
-
- target_path = source_path_name & "\" & Left(source_window_name, Len(source_window_name) - 4)
- MkDir target_path
- '«Ø¥ß·Ç³ÆÀx¦s¤Á³Î§¹¦¨Àɮתº·s¸ê®Æ§¨
- For i = 1 To ActiveWorkbook.Sheets.Count
- '¨Ï¥Î°j°é , °õ¦æ¦¸¼Æ¬O§@¥Î¤¤ªº¬¡¶Ã¯ªº¤u§@ªí¼Æ¶q
- ActiveWorkbook.Sheets(i).Copy
- '§â§@¥Î¤¤ªº¬¡¶Ã¯ªº²ÄiÓ¤u§@ªí½Æ»s¨ì¥t¤@Ó·s¶}±Òªº¬¡¶Ã¯
- ActiveWorkbook.SaveAs target_path & "\" & ActiveSheet.Name
- '»Ýª`·N³o¸ÌªºActiveWorkbook¤w¸g¬O·sªº¬¡¶Ã¯¤F
- '§â·s¬¡¶Ã¯Àx¦s¨ì«ü©w¸ô®| , ¥BÀɦW»P¤u§@ªí¦WºÙ¬Û¦P
- ActiveWorkbook.Close
- 'Ãö³¬¤w¸gÀx¦sªº·s¬¡¶Ã¯
- Windows(source_window_name).Activate
- '±N§@¥Îµøµ¡¤Á´«¦^ì©lÀÉ®×
- Next
- End Sub
½Æ»s¥N½X |
|