メインコンテンツへスキップ

各行をExcelでテキストファイルとしてエクスポート/保存するにはどうすればよいですか?

通常、ワークシートを個別のテキストファイルとして簡単に保存できますが、Excelで単一の行をテキストファイルとしてエクスポートして保存するにはどうすればよいですか? そして、各行を個別のテキストファイルとしてエクスポートして保存する方法は? この記事では、Kutools forExcelのユーティリティを紹介してそれらを簡単に解決します。

Kutools forExcelを使用してXNUMX行をテキストファイルとしてエクスポート/保存します

Kutools for Excelを使用して、各行をテキストファイルとしてエクスポート/保存します

各シートを個別のPDF / CSV /テキストファイルまたはワークブックとしてExcelで簡単に一括保存できます

通常、[名前を付けて保存]機能を使用して、アクティブなワークシートを個別の.pdfファイル、.txtファイル、または.csvファイルとして保存できます。 しかし、Excel用のKutools 分割ワークブック ユーティリティを使用すると、各ワークブックを個別のPDF / CSV /テキストファイルまたはExcelのワークブックとして簡単に保存できます。

広告分割ワークブックテキスト


Excel用のKutools 範囲をファイルにエクスポート ユーティリティは、範囲をテキスト ファイル、csv ファイル、または html ファイルなどとして保存できます。したがって、このユーティリティを適用して、行全体をテキスト ファイルとして Excel に簡単にエクスポートできます。

Kutools for Excel - Excel に必要な 300 以上のツールが詰め込まれています。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 ダウンロード中!

1.テキストファイルとして保存する行全体を選択し、[ クツールズプラス > インポート・エクスポート > 範囲をファイルにエクスポート。 以下のスクリーンショットを参照してください。

2. [ファイルへの範囲のエクスポート]ダイアログボックスを開いて、[ Unicodeテキスト オプションをクリックし、[参照]ボタンをクリックします 横に ディレクトリを保存 ボックス。

3. [エクスポート ファイルのディレクトリを選択] ダイアログ ボックスが表示されたら、テキスト ファイルを保存するフォルダを選択し、 OK

4。 クリック Ok に戻ったときのボタン 範囲をファイルにエクスポート ダイアログボックス。

注意:

1.正常に保存した後にテキストファイルを開きたい場合は、 エクスポート後にファイルを開く [範囲をファイルにエクスポート]ダイアログボックスのオプション。

2.複数の行を個別のテキストファイルとして保存する必要がある場合は、これらの手順を何度も繰り返して、各行を個別のテキストファイルとして保存する必要があります。 各行を個別のテキストファイルとして簡単に保存するには、次の方法を参照してください。

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手


実際、Kutools for Excelがインストールされている場合は、各行を新しいシートに分割できます。 分割データ ユーティリティ、そしてそれを適用する 分割ワークブック これらのシートを個別のテキストファイルとしてExcelに保存するユーティリティ。

Kutools for Excel - Excel に必要な 300 以上のツールが詰め込まれています。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 ダウンロード中!

1.各行をテキストファイルとして保存する範囲を選択し、[ クツールズプラス > 分割データ.

2. [分割データを複数のワークシートに開く]ダイアログボックスで、[ 固定行 オプション、およびタイプ 1 下のボックスに、ルールを指定します キャンペーンのルール ドロップダウン メニューをクリックし、 Ok

 

これで、各行は、タイトル行を持つ新しいワークブックの新しいワークシートに分割されます。 新しいシートのタイトル行が必要ない場合は、チェックを外してください 私のデータにヘッダーがあります オプションを選択します。

3.新しいシートで、 クツールズプラス > ワークブック > 分割ワークブック.

4. [ブックの分割]ダイアログボックスを開いて、[ タイプとして保存 オプション、選択 Unicodeテキスト(* .txt) 下のドロップダウンリストから、 スプリット

docは各行をテキスト01としてエクスポートします

注意:

(1)非表示のワークシートをテキストファイルとして保存する必要がない場合は、 非表示のワークシートをスキップする オプションを選択します。

(2)空白のワークシートをテキストファイルとして保存する必要がない場合は、 空白のワークシートをスキップする オプションを選択します。

5.テキストファイルを保存するフォルダを フォルダを選択してください ダイアログボックスをクリックし、 フォルダを選択してください

テキストファイルとして保存するワークシートが多い場合は、分割に時間がかかります。

次に、各行が分割され、テキストファイルとして指定されたフォルダに保存されます。

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手


 

Kutools for Excel: 300 を超える便利なツールをすぐに利用できます。 機能制限なしの 30 日間の無料トライアルを今すぐ始めてください。 今すぐダウンロード!

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi

I have a file with roughly 20,000 rows and these rows need to be saved as individual notepad files with a name from another column in the same file. Could you please let me know if this is possible.

Example:-
Name Text
Nm1 test file content - test 1
Nm2 test file content - test 2
Nm3 test file content - test 3

So for the table above in Excel, I would like 3 files created with 1st file saved as 'Nm1.txt' and content 'test file content - test 1'.

Could any of you please help.

Thanks
Divya
This comment was minimized by the moderator on the site
Hi there,

Are the names in the column in a regular way like Nm1, Nm3?
You cannot retrive name from a column, but you can create the names in a regular way. For example, when you click on Kutools Plus > Split Data, you can select Sequence Numbers in the Rules drop-down list (No. 2) under the New worksheets name section. And then add certain text in the Prefix and/ or suffix box.
https://cdn.extendoffice.com/images/stories/doc-excel/export-each-row-as-text/doc-export-each-row-as-text-6.png

For example, I select Sequence Numbers and enter Name- in the Prefix box, I will get the names of the text files like this: Name-1, Name-2, and so on.

Amanda
This comment was minimized by the moderator on the site
I am sadly getting the following error when trying to do this: "Access violation at address 0000000002D1F21B in module 'PaneforKutools64.dll'. Read of address 0000000101010060."
I may have gotten the number of zeros wrong as I cannot copy and paste... but what should I do?
This comment was minimized by the moderator on the site
Hi there,

Could you please advice which steps did you follow and then got wrong?
Please attach screenshots if possible.

Thanks in advance.

Amanda
This comment was minimized by the moderator on the site
Hello, Can I ask using a Kutools plus. When I use 'Workbook->Split Workbook, how to save text file that is type of 'utf-8'?
This comment was minimized by the moderator on the site
Hi tae-woo,
Thanks for your comment. At present Kutools supports to save worksheets as Unicode text files, CSV, Workbooks, PDF. Perhaps, Kutools will support to save worksheets as UTF-8 text files in future.
This comment was minimized by the moderator on the site
각각의 행을 각각의 텍스트 파일로 저장할 수 있는 방법은 무엇인지요?
This comment was minimized by the moderator on the site
this program saves text file with unicode encoding...but i want to save it with utf8....i dont know how...please help me
This comment was minimized by the moderator on the site
Hi,
Kutools for Excel only supports to save as Unicode text. If you prefer to UTF8 text, I am afraid you need to save each row manually one by one, or apply VBA code.
This comment was minimized by the moderator on the site
I really appreciate tou.....this program is very helpfull to me
This comment was minimized by the moderator on the site
Sir, I want seclect perticuler Range like colom A and B , if i salect A and B in One worksheet then autonaticalyy A and B salected in Each worksheet and Now "Export Range " salect for all worksheet and convet as TXT file according there currect Sheet Name
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations