Copy and Paste Excel selection into Word - data disappears - object

I've been trying to copy & paste a table from Excel into Word, by inserting it as an Excel worksheet object and ensuring I paste as a link, so I retain the formatting from Excel, and allows me to access the specific table easily.
Unfortunately, the excel table disappears apart from the final row of the selection when I paste into Word, and I've no idea how to fix it. The internet isn't giving me any solutions either.
Is this a known issue? Or is there a way around this?
Thanks in advance

#Rob, i cannot comment (no privilege) so need to do this via an answer: please check the paragraph setting of the paragraph where you copied the table to and try changing it to anything but not 'fixed height'. Fixed really makes it look as if 1 row is pasted. Let me know if it worked, it did for me.

Related

Excel not displaying results after reopening file, only after manual recalculation

I have a very strange Excel problem that I cannot wrap my head around:
I have the following formula:
=IFERROR(LEFT(INDIRECT(ADDRESS(INT(((ROW()))/4)+2,3,,,"Sheet1")),(FIND(" ",INDIRECT(ADDRESS(INT(((ROW()))/4)+2,3,,,"Sheet1")),1)-1)),"")
which essentially goes through a different sheet and looks for string entries including a space and then returns only the first word and outputs the same results for 4 consecutive rows.
Typing this formula into Excel and executing it manually works. Dragging the formula down a couple rows also works.
When I now save, close and reopen the workbook, the cells are empty. The formula is still present but now it is in array format {} and the results do not show. If I now click on the cells with my mouse and execute them again by pressing enter it calculates correctly. See picture below.
Cells only display result after manual execution
So I know the formula still works. Copying the formula, deleting the entire array and pasting it and dragging it down results again in a working formula.
Does anyone what is causing this strange behavior and how I can fix it?
Many thanks in advance and best regards.
Make Sure your Workbook Calculation is set to Automatic.
Please check once here -
Go to File > Option > Select 'Formulas' on Left > Check under 'Calculation Options' if Workbook Calculation is set to Automatic. If not, make it Automatic and give it a try.
Suggest you rewrite your formula to use OFFSET rather than INDIRECT(ADDRESS. Also, if you're using WEBSERVICE anywhere it is not affected by automatic calculation.

Downloading File with importrange function failing - think it's a bug

I've been saving Google Sheets to Excel without any problems for a while. These sheets have always successfully saved and opened in Excel with the importrange function. However, recently it hasn't been successfully saving correctly.
It used to just have the static value (e.g, 40). There used to be an IFERROR in the first cell in the header row but now it exists in every single cell.
E.g, each cell would have something like this:
=IFERROR(__xludf.DUMMYFUNCTION(importrange(blahblah)),"40").
DUMMYFUNCTION throws an error and "40" is returned as a result. but "40" is a string, not an integer which messes up all my formulas.
I also know this isn't an Excel issue because OpenOffice is doing the same thing with the file.
I'm pretty sure this would be a bug because why would it be working for months and then suddenly stop working?
What should I do?
I'm thinking it's a bug too.
Workarounds
On Excel
Copy and paste as values only the ranges with IFERROR(__xludf.DUMMYFUNCTION(..., then use Excel's UI tools to convert numbers shown as text to numbers.
Selectively remove quotes on the IFERROR second argument of the cells causing problems
Remove =IFERROR(__xludf.DUMMYFUNCTION(),"value") except value (we could use Excel's built-in FIND & REPLACE for this)
On Google Sheets
Use Copy > Paste as values only on the range areas having formulas with non-compatible functions like IMPORTRANGE, QUERY, FILTER, etc.
If you only need the values, download it as CSV instead of XLSX
IMPORTANT
In order to help to prioritize this issue, send feedback to Google. To do this open a Google Sheets spreadsheet, click on Help > Report a problem, then fill the feedback form and submit it.
Related stuff
I posted 5 small articles about this in Spanish. You could find them listed on https://www.rubenrivera.mx/p/descargar-hcg-excel.html.
We accidentally created a workaround for this bug with a different sheet that was just set up like this.
This works when you IMPORTRANGE into another Google Sheet. We are doing it into a Google Sheet with a single worksheet - haven't tried it with multiple.
It's going to sound a little nuts but it works for us.
In the first cell of your import range put a hyperlink in the original document you are importing from. This is in the first cell of the import range. We linked it to a worksheet in the original document. It has worked and failed with an external link. With an external link it worked when I linked it to an internal link, then changed it. But when I deleted the cell and just straight linked it to an external URL it didn't work.
Then #timbo was right - put data validation in. This can be in part of the document that isn't being imported into the second sheet. I put it in the first line of the import range but outside what I was importing. It might have to be the first line. I just put a date in one cell, then in the next cell data > data validation > then choose that one date as the data range.
For aesthetics I have hidden the first row in one Google Sheet I am importing into. In another I made the first cell link the title of the sheet and put the data validation outside the import range. Both of these work.
Let me know if this works for you.
Until this bug is fixed, a workaround is to put a data validation (Data > Data Validation) on the imported data (Any kind of data validation will do).

Excel cell content into multiple rows into another sheet

I have a requirement in excel where i want to copy each text that ends with pulistop into a row of another sheet. ex:
Setting up the configuration.
Creating environment.
Pushing the tasks.
Now assume that above text is in one cell and i want to copy each sentence that ends with pulistop into individual rows of a new sheet. like below.
Setting up the configuration.
Creating environment.
Pushing the tasks.
Please help me in doing this as i have many no. of sheets which needs this modification.
Thanks in advance.
Chakri.
Check if this can be useful for you:
Copy the cell(s) into clipboard (Ctrl+C).
Paste into Notepad or similar text editor. Note: in Notepad the lines will appear next to each other, but nevermind, the line jumps are still there.
Replace in text editor all " (double quotes) with nothing.
Copy the whole text of the editor.
Paste into Excel.
This works in my case. If you have many cells like this next to each other, with this method you can process all at once with the same effort. Will this work for you?

Pasting Excel tables in Thunderbird e-mail client

When I paste an Excel table in Thunderbird e-mail client (ver 24.2.0) the table looses its formatting. One workaround seems to be that you paste the table from Excel to Word and then paste it in Thunderbird. But this seems a bit odd as Word and Excel are part of the same Office Suite of applications, yet their behavior is strange.
Can anybody shed any light on it?
Copy from Excel,
Paste into word -> Paste Options -> Keep Source formatting,
then highlight the table, Go to Design -> on the right, Increase the "Line Weight" to a minimum of 1 point, then click on "Borders" and select "All Borders"
Now copy this table and paste it in your Email. It should work.
The fastest way to copy excel tables as they are, in Thunderbird is to first copy the table to Word, and then recopy and paste within html email.
Colors, lines, format are kept as they are...
Another workaround you can do entirely within Excel is copy the cells for your table, pasted as a picture in Excel and then copy/cut the picture from Excel and then paste to Thunderbird. You lose the ability to edit in place in Thunderbird, and increase the size of the email but you keep all the formatting from Excel.
So far,the best solution is paste the table into Word and then copy from there.
This is a bug from 2003 Reference Link,but didn‘t fix it.
Paste the table as it is in mail from excel, then go to
Format --> Table --> Table Properties
In Borders & Spacing, keep the Borders as- 1 or 2 pixels.
It is working 100%
This is a bug in thunderbird. I overcome this by using LibreOffice (or open office) spreadsheet. Formatting is not lost when we copy from Libreoffice Calc. Thunderbird development is a bit lousy :-). Keeping this bug open for long time.
try to use "Text To column" function under the "DATA" TAB
it will make the column suitable to be pasted as a text

Paste from SQL to Excel... Excel wants to think for me

Group I am pasting data from SQL to Excel and it appears that Excel is trying to read my mind by converting some of my numbers to dates. I.e. one number is 2-2131 and when I paste it to excel it shows Feb-31 even 2-3291 wnats to be Feb-61
STOP IT EXCEL!
This is driving me crazy and I can't seem to find an easy way around this. I tried "paste special" as text and it still formats. I can get it to work if I create a connection and use the query, but I just want to be able to copy-paste data for testing purposes.
Anyone have an easy solution to my headache?
Thanks in advance!
Format the column as text before pasting the text.
Select the cells ahead of time and mark the formatting as Text. (Format->Cells, select "Text" from Categories and click OK). Then paste your data.
Hit F-2 before you paste the code and then it just puts it into one cell.
Highlight the affected row, right click, choose Format Cells..., select Text before you paste the data.
After pasting the sql data to excel, change the date and time format of excel to simple numbers seprated by dashes. That way round even if excel would assume it to be date, it would display the numbers as it is.

Resources