- ©«¤l
- 80
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 108
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-3-6
- ³Ì«áµn¿ý
- 2012-8-23
|
¦ba.xls¤¤³]¸m«ö¶s¡A«ö¤U«ö¶s«á¡A±Na.xls¤¤Àx¦s®æ A2:B10 ½Æ»s©ó b.xlsªºÀx¦s®æA2¡A
¦ýa.xls¤¤Àx¦s®æB2¡GB10 ¦³µù¸Ñ¡AY¤£·Q±Nµù¸Ñ½Æ»s©ób.xlsªºÀx¦s®æ¡A¸Ó¦p¦ó©O¡H
a.xls¤¤«ö¶sµ{¦¡½X¦p¤U¡G
sub copy( )
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Workbooks.Open "C:\Documents and Settings\328-2\b.xls"
Workbooks("a.xls").Sheets(1).Range("A2:B10 ").Copy Workbooks("b.xls").Sheets(1).Range("A2")
Workbooks("b.xls").Range("B2:B10 ").ClearComments
Workbooks("b.xls").Save
Workbooks("b.xls").Close
Application.ScreenUpdating = True
Application.DisplayAlerts = True
end sub
§Ú¦b«ä¦Ò¬O¤£¬O¤£¥i¥H©óa.xls¤¤²M°£b.xls¸Ìªºµù¸Ñ¡A¦³¨S¦³¨ä¥L¿ìªk©O¡H¡H |
|