I've seen this addressed before but can't find the thread.
I'm automating a process of pasting data from the clipboard, then using Text to Columns to break it out properly.
However, if you try to do this twice in one session, Excel somehow recognizes the data and automatically converts it to columns. Great for users, bad for code predictability.
Is there a way to turn this feature off via VBA, or somehow test for it? Only thing I can think of is testing for data in column B after the paste, but that seems less than ideal...
VBAjedi![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)
I'm automating a process of pasting data from the clipboard, then using Text to Columns to break it out properly.
However, if you try to do this twice in one session, Excel somehow recognizes the data and automatically converts it to columns. Great for users, bad for code predictability.
Is there a way to turn this feature off via VBA, or somehow test for it? Only thing I can think of is testing for data in column B after the paste, but that seems less than ideal...
VBAjedi
![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)