Working with Text Files

by Allen Wyatt
(last updated March 13, 2014)

Drive allows you to store all sorts of files so they can be accessed by you or others from almost anywhere. For instance, you might have a number of simple text files that you want to store in Drive. Once they are uploaded, you can easily manipulate them like you would other files.

What you can't do, however, is edit the text files. When you click on a text file stored in Drive, you'll see the contents of the file displayed in a file viewer, but you cannot edit that content.

How, then, can the text-file content be used? The easiest way is to open it in Drive (which displays the content in the viewer) and then select the content you want to use. Just click at the start of the content and drag the mouse to the end of the content. (If you want to select all the content in the file, press the Ctrl+A shortcut.) You can then press Ctrl+C to copy the selected content to the Clipboard.

Now switch over to a different program, such as Docs or Sheets. Position the insertion point where you want the text-file content to be placed, and then press Ctrl+V. This pastes the information into the document and you can then edit it as desired.

Once pasted into the document or spreadsheet, you may need to "clean up" the text a bit. This is particularly true if you used Ctrl+A to select the entire text file. (Ctrl+A also selects any other information displayed in the viewer, such as page number indicators.)

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using a Single-Column Heading in a Multi-Column Layout

Want different numbers of columns all on the same page? Word makes it easy to use, for instance, a heading that uses a single ...

Discover More

Adding Automatic Time Stamps

Your computer knows the current date and time, and Word provides ways you can get that date and time into your document. ...

Discover More

Accessing Paragraphs in a Macro

Need to process a document, paragraph by paragraph, in a macro? It's easy to do once you understand that Word's object model ...

Discover More
More DriveTips

Adding Shared Files to Drive

When you are working in Drive, the program makes it easy to see the files to which you have access. Normally, shared files ...

Discover More

Controlling the View in Drive

Drive lets you organize and work with files that it stores for you. It also gives you control over how you view the files it ...

Discover More

Previewing Your Files

Want to get a glimpse of what is inside a file without evening opening it? Drive provides two distinct ways of peeking under ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)