¦U¦ìExcel°ª¤â¤j®a¦n
¤p§Ì¦³¤@VBA°ÝÃD·Q½Ð±Ð
¦p¤U¬O¤p§Ì¥Î¿ý»s¥¨¶°°µ¥X¨ÓªºVBA
¨ä¤¤¦b²M³æ¤p²Ä¦³¥Î¤@Ó³sµ²¨ìExcel MPS
¶}±ÒMPSÀÉ®×«á §ÚnMPSÁ`ªí¤À¶ªºA:AMÄæ ¥þ³¡½Æ»s
¦A¶K¨ì§ÚªºÀɮפÀ¶(MPS)¤W
«á±³£¬O¦hªº......
°ÝÃD¦p¤U
1.¦pªG³oÓÀɮ׬O¦b¤@Ó¤ººô¤W,¨ºn¦p¦ó¥ÎVBA¶}±ÒExcelÀɤΫü©w¨ºÓ¤À¶©O?
2.¤U±ªº¿ý¨î¥¨¶°¦³¯ÊÂI,¦]¬°ì¥»ªºMPSÁ`ªí¤]¦³¤@Ó¥¨¶°,¶}±Ò¤§«á³£·|¦A°Ýn¤£n¶}±Ò¥¨¶°,¬O§_¯àקï¤U±ªºµ{¦¡,Åý¥¦«Ü³æ¯Âªº¶}±ÒMPSÀÉ®×µM«á¦A¨ìMPSÁ`ªí¤À¶,Åý§Ú¯à°õ¦æ½Æ»s°Ê§@¤Î¶K¤W°Ê§@
³Ì«á¦b¦Û¤vÃö±¼¶}±ÒªºMPSÀÉ®×,¤]¤£n°Ý§Ún¤£n¦sÀÉ,´N¦Û¤vÃö±¼´N¦n¤F
¤£µM¨C¦¸³£°Ý§Ú¦³¤j¶q¸ê®Æn¤£nÄÀ©ñ~«Ü³Â·Ð
¥H¤W~Y¦³¤£²M·¡ªº¸Ü¦A³Â·Ð¦U¦ì°ª¤â´£°Ý~ÁÂÁÂ!!
Sub ½Æ»sMPS()
Sheets("²M³æ").Select
Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
Sheets("MPSÁ`ªí").Select
Columns("A:AM").Select
Selection.Copy
Windows("·s¼W Microsoft Office Excel ¤u§@ªí.xlsx").Activate
Sheets("MPS").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("D8").Select
Windows("MPS.xls").Activate
ActiveWindow.Close
Sheets("Sheet1").Select
Range("A2").Select
End Sub |