INTENTION: I'm trying to load one file into sheet 1, then switch to sheet 2 and load a completely different file. These files do not interact, I just want to be able to flip from one file to the other.
EXPERIENCE: If I try the above, the original program on sheet 1 disappears. What am I doing wrong?
[Solved] Load different files in separate sheets
-
Phoenix1151
- Posts: 6
- Joined: Sat Aug 15, 2026 11:04 pm
[Solved] Load different files in separate sheets
Last edited by MrProgrammer on Tue Aug 25, 2026 9:27 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved]
Reason: Tagged ✓ [Solved]
Open Office 4.1.16 on Windows 10
-
Mountaineer
- Posts: 340
- Joined: Sun Sep 06, 2020 8:27 am
Re: Loading different files in different sheets
Thinking your intentions matter is wrong.
Years ago we studied big manuals to know how software works and then you'd try to fit your tasks to the available tools (or start coding).
Every .ods-file can consist of several sheets, so opening them needs another window. A single sheet can not hold the file.
One hint: If you open another file your first one is only hidden behind the newly opened file/window. You can switch between them using the Window-Menu.
LibreOffice 7.6 on Windows 10pro and other Versions parallel
- MrProgrammer
- Moderator
- Posts: 5480
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Loading different files in different sheets
Hi, and welcome to the forum.
OpenOffice does have an Open operation (File → Open). This gets data which was previously saved in a spreadsheet file and displays it on the screen so you can work with it. The data can consist of one or more sheets. When you use File → Save, OpenOffice replaces all of the data in the spreadsheet that you opened. Open can only connect to one spreadsheet file, but you can have as many open spreadsheets as you want. Open one spreadsheet, then use File → Open again. Now they're both open and you can switch back and forth.
OpenOffice also has a way to get data from a file (call it Foo) and put a copy of that in new sheet of a spreadsheet. You do this with Insert → Sheet from File, leaving Link in the dialog unchecked. When you use File → Save, the new sheet is saved along with any other sheets in the spreadsheet. This is a copy of the data in Foo. If you change Foo, your spreadsheet does not change. If you change your spreadsheet, Foo does not change.
OpenOffice also has a way to get data from a file (call it Foo) and display Foo's data as new sheet of a spreadsheet. You do this with Insert → Sheet from File, and checking Link in the dialog. When you use File → Save, the new sheet is saved along with any other sheets in the spreadsheet. This is a copy of the data in Foo. Next time you open the spreadsheet OpenOffice will ask if you want to get the latest data from Foo. If you change Foo, and say Yes, your spreadsheet will change because your spreadsheet is showing you what is in Foo. If you say No, the spreadsheet shows you what you last saved with File → Save. In either case, if you change your spreadsheet, Foo does not change.
All of this is explained in detail in the Calc guide. You should read it before asking further questions since the manual will probably answer them.
Calc Guide
If you are new to Calc, I think reading this tutorial will save you a lot of time later, even though it doesn't address your specific question: [Tutorial] Ten concepts that every Calc user should know
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.
OpenOffice does not have a Load operation, so I'm not sure what you want to do.Phoenix1151 wrote: Sat Aug 15, 2026 11:15 pm I'm trying to load one file into sheet 1, then switch to sheet 2 and load a completely different file.
OpenOffice does have an Open operation (File → Open). This gets data which was previously saved in a spreadsheet file and displays it on the screen so you can work with it. The data can consist of one or more sheets. When you use File → Save, OpenOffice replaces all of the data in the spreadsheet that you opened. Open can only connect to one spreadsheet file, but you can have as many open spreadsheets as you want. Open one spreadsheet, then use File → Open again. Now they're both open and you can switch back and forth.
OpenOffice also has a way to get data from a file (call it Foo) and put a copy of that in new sheet of a spreadsheet. You do this with Insert → Sheet from File, leaving Link in the dialog unchecked. When you use File → Save, the new sheet is saved along with any other sheets in the spreadsheet. This is a copy of the data in Foo. If you change Foo, your spreadsheet does not change. If you change your spreadsheet, Foo does not change.
OpenOffice also has a way to get data from a file (call it Foo) and display Foo's data as new sheet of a spreadsheet. You do this with Insert → Sheet from File, and checking Link in the dialog. When you use File → Save, the new sheet is saved along with any other sheets in the spreadsheet. This is a copy of the data in Foo. Next time you open the spreadsheet OpenOffice will ask if you want to get the latest data from Foo. If you change Foo, and say Yes, your spreadsheet will change because your spreadsheet is showing you what is in Foo. If you say No, the spreadsheet shows you what you last saved with File → Save. In either case, if you change your spreadsheet, Foo does not change.
All of this is explained in detail in the Calc guide. You should read it before asking further questions since the manual will probably answer them.
Calc Guide
If you are new to Calc, I think reading this tutorial will save you a lot of time later, even though it doesn't address your specific question: [Tutorial] Ten concepts that every Calc user should know
We have a saying like that in English expressing the idea that wanting something doesn't make it happen: If wishes were horses, beggars would ride
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).
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).
Re: Loading different files in different sheets
What type of file you want o "load" (open, import) into a sheet of an .ods file?I'm trying to load one file into sheet 1, then switch to sheet 2 and load a completely different file.
There is a function in the LibreOffice: Sheet - Insert Sheet from File
- Attachments
-
- InsertSheetFromFile.png (40.36 KiB) Viewed 3898 times
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Loading different files in different sheets
A corresponding tool is also available in OpenOffice from the Insert menu.Zizi64 wrote: Sun Aug 16, 2026 9:43 am [...]
There is a function in the LibreOffice: Sheet - Insert Sheet from File
Are the file contents in a strictly "flat tabular" layout (spreadsheet, CSV, relational database)?
- If they are, you should be good with the suggestions above.
- If not, the insertion will most likely fail.
- With Wordprocessing files, table objects may be selected for insertion by name, but the structure of a wordprocessor file is potentially a bit more complex than what can be laid out in a spreadsheet.
-
Phoenix1151
- Posts: 6
- Joined: Sat Aug 15, 2026 11:04 pm
Re: Loading different files in different sheets
Thanks all but I think Mountaineer addressed my issue satisfactorily enough for my purposes.
Open Office 4.1.16 on Windows 10