- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 7# ´Ñ»y³¾»ï - Sub Ex()
- Dim Bo As Workbook, E As Object, S As String
- Set Bo = ActiveWorkbook
- Bo.Sheets(1).Copy '½Æ»sSheets(1) ¤@±i¤u§@ªí¨ì·sªº¬¡¶Ã¯
- With ActiveWorkbook '½Æ»s«áªº·s¬¡¶Ã¯¬O **§@¥Î¤¤ªº¬¡¶Ã¯**
- For Each E In .VBProject.VBComponents '¬¡¶Ã¯±M®×¤¤¤¸¥óªº¶°¦Xª«¥ó
- E.CodeModule.DeleteLines 1, E.CodeModule.CountOfLines '§R°£©Ò¦³ªºµ{¦¡½X
- Next
- .SaveCopyAs .Sheets(1).[B2] & .Sheets(1).[B1] & "." & IIf(Bo.Path <> "", Split(Bo.Name, ".")(1), "xls")
- .Close False 'Ãö³¬ÀÉ®× (¤£¦sÀÉ)
- End With
- End Sub
½Æ»s¥N½X |
|