Heres my problem: I will have a cell that has company names in it and I need to parse each name an then do some work with them but when I started this project I was told each company will be seperated by some number of spaces.
Ex.) |Company1(534553) Company2(3544)|
Right now this is how I'm parsing a line like this:
So it will make an array where each block will hold either a company name or a null (because of multiple spaces beside eachother) and I filter that out later.![]()
Please Login or Register to view this content.
Now Im being told there is data that is being seperated by, what is essentialy an Enter stroke (Done by pressing Alt-Enter in Excel). This kind of messed up my whole parsing plan.
Firstly how do I detect this Alt-Enter character so I can deal with it, and also is there a way to have code as simple as I have above but will execute under multiple conditions?
What I mean is that i want it to parse into the same array when it hits a SPACE or Alt-Enter. Like using the Split Function but with more than 1 condition?
Thank You
Bookmarks