[Solved] Copy/paste from spreadsheet to text document

Discuss the word processor
Locked
emilydxo
Posts: 3
Joined: Mon Sep 30, 2024 2:12 pm

[Solved] Copy/paste from spreadsheet to text document

Post by emilydxo »

I was able to do it for a while and now for some reason it isn't working. I need the text to stay in the same format it is in in the spreadsheet. When I try to copy and paste, it puts a small version of spreadsheet that I can't really do anything with it. I'm highlighting the row at the top, only the columns I need, then copying. Then I go to file> new> text document> paste. What appears is a thin line with green square dots, nothing else on the screen. I can expand this line, but I have to right click and hit edit to see a small version of spreadsheet that I can't do anything with. Please help!!
Last edited by emilydxo on Mon Sep 30, 2024 4:45 pm, edited 1 time in total.
Open Office V 4.1.15
Windows 11 23H2
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Can't copy and paste from spreadsheet to text doc

Post by floris v »

When you copy and paste a set of cells, you insert an OLE object in the Writer document. If all you want is the content in the cells, you should use Paste as unformatted text.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
MrProgrammer
Moderator
Posts: 5432
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Can't copy and paste from spreadsheet to text doc

Post by MrProgrammer »

Hi, and welcome to the forum.
emilydxo wrote: Mon Sep 30, 2024 2:50 pm I need the text to stay in the same format it is in in the spreadsheet.
Copy the cells in Calc. Then in Writer use Edit → Paste Special. You will have several choices. Try them. Choice calc8 is what a simple Paste (without Special) produces. Try one of the others. Then use Edit → Undo and try the next one. Pick the one that works best for you. Those are your choices. There are advantages and disadvantages to each, so that is why OpenOffice gives you many choices. Calc and Writer have different capabilities, but you can perhaps find a presentation of your data in Writer that is close to what you had in Calc.

floris v wrote: Mon Sep 30, 2024 3:10 pm When you copy and paste a set of cells, you insert an OLE object in the Writer document. If all you want is the content in the cells, you should use Paste as unformatted text.
The OLE object is a real, working spreadsheet embedded in the text document. You can perform all of the Calc operations with it, like creating new formulas or filtering your data. But if all you want to do is display the data and never change it, one of the other options may be better for you. If you use choose Unformatted Text you will have a copy of the spreadsheet values in your text document. Then you can select all those lines and use Table → Convert → Text to Table. You can format the resulting table the way you like. The Formatted Text choice may be a good compromise, creating a simple Writer table for you which contains the values from Calc.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Can't copy and paste from spreadsheet to text doc

Post by floris v »

@MrProgrammer: Thanks for the heads up.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
emilydxo
Posts: 3
Joined: Mon Sep 30, 2024 2:12 pm

Re: Can't copy and paste from spreadsheet to text doc

Post by emilydxo »

When I try to paste as formatted or unformatted text, it says "importing document" at the bottom and shows a green bar, but it only gets about 10% full before OpenOffice crashes
Open Office V 4.1.15
Windows 11 23H2
emilydxo
Posts: 3
Joined: Mon Sep 30, 2024 2:12 pm

Re: Can't copy and paste from spreadsheet to text doc

Post by emilydxo »

Never mind, I figured it out! Thank you!
Open Office V 4.1.15
Windows 11 23H2
Locked