Copy text with italics into calc

My first use of this forum - Working to convert from MS Office to Libreoffice.
I have an Excel tool that accepts up to several thousands of lines of text that originates on a web page. Each line of text might contain a word in italics and the location of the italics in that line is unpredictable. My Excel tool parses each line of text, basically placing each word or other value into a separate column including placing the italics text into its own column. Every copy-paste option I have tried loses the italics. However, if I manually change the appropriate text to italics, the macro that looks for the italics finds it and processes it appropriately. Appreciate any suggests as to how to not lose the italics in the paste operation.

Running Windows 10 Pro, Libreoffice 24.2.5.2

If you paste into Writer and copy from there, you can paste with formatting retained