Sub 导出到文本文档() Dim tx As Object, Str$, i% Set tx = CreateObject("new:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}") For i = 1 To Range("A1").CurrentRegion.Rows.Count Intersect(Rows(i), ActiveSheet.UsedRange).Copy tx.getfromclipboard: Str = tx.gettext Open ThisWorkbook.Path & "\" & i & ".txt" For Output As #1 Print #1, Str: Reset Next Set tx = Nothing End Sub 用这段代码试一试!