I have an Excel sheet and I paste text into a text box. I'm trying to copy+paste a source code from Eclipse and to preserve syntax highlighting and preserve tabs (code formatting).
Syntax highlighting - works fine by using: context menu -> Paste options -> Keep Source Formatting. But this options ruins my code formatting because I can see that excel removes automatically all leading tabs, so my code, pasted into excel text box, is not formatted anymore.
Anyone knows how to preserve code formatting while pasting into text box?