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

Calculating Elapsed Time with Excluded Periods

When using Excel to calculate elapsed time, there can be all sorts of criteria that affect the formulas you would otherwise ...

Discover More

Protecting a Single Worksheet

Excel allows you to protect your worksheets easily—and that includes if you need to protect only a single worksheet out ...

Discover More

Locating the My Documents Folder

Need to do some macro processing of documents in the user's My Documents folder? First step is to figure out where the folder ...

Discover More
More DriveTips

Getting a File Count

Want to know how many files you've got stored in Drive or in a folder or two? There is no built-in tool to get the info, but ...

Discover More

Limiting which File Types You See in Drive

Overwhelmed with the number of files displayed on your screen when using Drive? Here's a handy way you can limit what is ...

Discover More

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
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. 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 six less than 6?

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