Pasting to Sheet

N

Nigel

When pasting text from the clipboard, the data is parsed
and spaces between each word causes each word to placed in
separate cells. Is this an option in VBA ?

TIA
Nigel
 
J

Jim Rech

Is this an option in VBA?

Not really. I think what you're seeing (the parsing) is a side effect of
having used the Text Wizard, as explained here:

http://support.microsoft.com?kbid=127132

So the pasting (manual or macro) will parse or not parse on it's own
depending on having used the wizard. Where you want parsing and haven't
gotten it you can use the range TextToColumns method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top