Hi,
I need to implement a vba script that will take an excel sheet where column A contains information about an email, such as sender email, subject, body, etc.
There is only 1 column, and I want to split this column into separate columns, one column being the sender's email address, others being subject, body, etc.
Right now, column A has the character "þ" separating the two information, and I want to use this character as a delimiter to call the TextToColumns function.
TextToColumns is not quite working properly. If I do not write DataType:=xlDelimited, it will take 'space' as a delimiter even if I write space:=false, and if I do write DataType:=xlDelimited, it will not only take "þ" as the delimiter, but it also seems to ignore everything after a linebreak, and I lose a good chunk of information.
Is there a way to fix this issue? Maybe if it is not doable with a TextToColumns function, is there a different way I can achieve this?
Bookmarks