the tab character are converted to spaces.
That's the default behaviour of Excel, when you are in cell entering mode. Press ESC key to return from that mode.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I've to paste text that include the tabulation character from clipboard to EXCEL using a VB script.
If I use .Paste method before using any .TextToColumns method, all is OK : the text is pasted in several columns following the tab character.
But, if, previously, I used a .TextToColumns method (contained in another script), It's going wrong : when I paste the clipboard content, it is displayed in one column and the tab character are converted to spaces.
Note that if I paste the clipboard in a text editor, the tab characters are still present...
So, I have to close EXCEL and start again to make my script running well...
How to avoid the conversion of tab character in spaces when pasting text from clipboard ?
Thanks in advance.
the tab character are converted to spaces.
That's the default behaviour of Excel, when you are in cell entering mode. Press ESC key to return from that mode.