I am trying to cut and paste Excel data into a Word document. The data is only in 1 column, and there are several cells that have bolding and underlining in them.
I would like to be able to copy and paste the data into a word, keeping the bold and underlining.
I have tried everything I can think of, but I don't see any way to keep the formatting in word.
Any help on this would be greatly appreciated.
Eric
Copy the table to Word as usual. Then go to Table Tools -> Layout -> Convert to Text and keep the formatting.
Convert to text
Related
I have many PDF files with huge paragraphs and I need to copy only the relevant text and paste it in specific columns in an Excel sheet. For example:
a) Copy 'Runny nose, cough, sneezing' and paste it under 'Symptoms' column in Excel
b) Copy 'Rhinovirus' and paste it under 'Causes' column in Excel
c) Copy 'Wash your hands thoroughly and often with soap and water for at least 20 seconds. If soap and water aren't available, use an alcohol-based hand sanitizer that contains at least 60% alcohol.' and paste it under 'Prevention' column in Excel.
In summary, the required text to be copied is a mix of single words and long phrases.
My current method is to manually copy the text and paste in the specific Excel cells. In order to save some time, can I use a tool that allows me to highlight the text, select the tag and appends the text in an excel sheet in the backend?
Thanks in advance!
try to use Excel Power Query to open the pdf and then search by key words.
You can find a detailed walkthrough here
https://www.myonlinetraininghub.com/searching-for-text-strings-in-power-query
Hope it helps. I would like to post this as comment, not an answer, but I cannot do it yet.
I have text copied from a pdf file to Excel(2010). I used 'text-to-columns' to create separate columns.
Now I have finished that part of my task, I want to paste another piece of text into the same file.
But now Excel directly uses the text-to-columns I used to split this new text, which I now (obvious) do not want to be split.
I tried pasting the text on a new worksheet. I tried to paste this text in a new workbook, but still the text is directly split by excel.
I tried pasting as text and I tried pasting as Unicode text. But so far, I have not found the solution for this. How can I make Excel "forget" that it has split text into columns?
Select any cell with a value and run Data ► Text-to-Columns, Delimited. Turn off all delimiters and click Finish.
Subsequent pasting of information into a worksheet will not use 'remembered' delimiters since there are none.
When I copy and paste multiple lines from a Visio flowchart text box into Excel, the text comes into one cell as wrapped with space seperators (and if there are more than a certain # of lines, stacked cells with this formatting).
When I copy and paste the same information into Word, the text retains it's line breaks.
Why does Excel not see the line breaks and split the information down to the other cells?
If I copy and paste the same information from Word into Excel, it identifies the line breaks and will put the information into seperate cells.
If this is a super user question, I will move, but I was unsure, as am I not really bothered or want a workaround, I would rather understand the reasons for the behavior.
I have like 3000 works in an excel cell that I need to search one word in. It does not highlight the word, it only places me into the cell with the word.
Anybody has any idea how I can get the word highlighted that I am looking for?
Thank you,
Steve
You have to change the font/highlighting/background of the characters you find using the Characters property in VBA. This can be packaged with the actual search or you can perform the search manually and the highlighting with a macro. See this link for code samples http://www.ozgrid.com/forum/showthread.php?t=66197
Note that since you are actually changing font in Excel you will need to revert it to normal if you don't want the highlight saved with the document.
If you save the whole book as an HTML. Then open it in your preferred browser, you can search in the normal way and it should highlight the desired word.
You can use conditional formatting to highlight the entire cell that contains the search criteria, but I think you want only the specific text to be identified?
I haven't tried this, but here is a discussion on this:
http://www.mrexcel.com/forum/showthread.php?t=397445
If it's just one long cell, or if all the long cells are in a column, you could try using the "Text to Columns" feature (under the Data tab of the Ribbon). If you set it to be delimited by space (assuming your words are separated by spaces), this will make it so that each word occupies its own cell. Then when you use Find, it will highlight the exact cell.
Another option would be to copy the range you want to search and paste into MS Word. From there, you can search, and it will highlight the exact word.
export as a .csv then, then import so that it breaks each column on the space, then you can do what i said above, and then combine the cells. why don't you just copy paste the contents of the cell into notepad and do a seach & replace there?
There is no equivalent to the highlighting feature in Word in Excel.
What I would suggest is doing a Replace where you set the replace with to the word you are searching for, plus set the Format (using the Format... button on the Replace tab) to a yellow color (on the Fill tab of the Replace Format dialog). Once you have that, clicking on "Replace All" will get the effect that you are seeking (that is, all instances of the term "yellow" in the worksheet will now have a yellow fill color in the cell).
I hope this is what you were thinking of.
Mike
alt-e-f (find), type the word, then you can go thru the cells with em
Now this is a weird one
We have a project where we are reading some data from an Excel spreadsheet. Obviously this data has to be in a certain format. Some of the fields consists of numbers, but should be treated as text.
To stop Excel from being "smart" and change the cell types, I have set the format in the respective cells to 'text'.
Now here is the problem: some of the numbers we're pasting have spacing between the digits. When we remove the white spaces, Excel change the cell format to 'standard' and turn the text into the 2.42805E+11 format.
BUT: this only happens when the text is copied from some sources. If a paste a number copied from a textbox, everything turn out fine when we edit the spaces. If we copy the exact same number from a web page, Excel change cell format.
I thought copy-paste would be copy-paste, but obviously some formating or something gets along on the ride.
Does anyone know what causes this, or know have to get Excel to stop being "smart" with the formating?
EDIT: I found a somewhat peculiar solution to this. I recorded a macro that uses the 'Paste Special' function with text as parameter, and overrided ctrl-v with it (in that particular spreadsheet). Works like a charm! Feels a bit "hacky", though. Can anyone think of a scenario where this will backfire?
Try using the Edit Paste Special command, it will give you some controls to choose what to do with the data.
For a taste of the complexity of what is really going on underneath, look in MSDN about Clipboard Formats. In short, it isn't all Excel's fault...
A common user trick copying data out of excel is to paste it into Notepad and cut it back to the clipboard, which flattens all the formatting down to plain text. It won't help you for pasting data into Excel, however.
Copy-paste in windows retains formatting. One way to get rid of the formatting is to paste the text into e.g. notepad first, then select and copy it again. This loses any copied formatting.